eslint-plugin@5.0.0
·
48 commits
to main
since this release
What's Changed
- feat(eslint-plugin): add new imports config by @matthieugicquel in #108
How to update
This release adds a deterministic config for JS/TS imports, included in recommended. Imports will be grouped and sorted automatically.
yarn up @bam.tech/eslint-plugin
# peer-deps have changed
npx install-peerdeps @bam.tech/eslint-plugin --dev --yarn
# You will probably have lots of changes, but most of the new rules should be auto-fixable
yarn test:lint --fix If you were using VS Code's organizeImports, you can remove it.
You can have a look at the config, in case you want to customize some rules
{ "editor.codeActionsOnSave": { "source.fixAll.eslint": true, "source.organizeImports": false // done through `@bam.tech/eslint-plugin` to allow enforcing in CI }, }