yoctoproject / vscode-bitbake

Bitbake language support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake
Other
45 stars 10 forks source link

Update ESlint and plugins #311

Closed WilsonZiweiWang closed 2 months ago

WilsonZiweiWang commented 3 months ago
  1. Remove unused eslint plugins as eslint runs fine without them.
  2. Start using flat config system as required by the latest eslint. (First step because eslint 8.x can work with the new config system as well)

Next steps:

  1. Replace eslint-config-standard-with-typescript with eslint-config-love as mentioned by the maintainer.
  2. eslint-plugin-deprecation doesn't support eslint 9.x yet, and it seems like it is still WIP. Look for a replacement. https://github.com/gund/eslint-plugin-deprecation/issues/78
  3. Current header rules don't work with eslint 9.x. Find a replacement or use the fix from the fork mentioned in this PR. https://github.com/Stuk/eslint-plugin-header/pull/58
  4. Update the eslint to 9.x when the issues above are resolved.