sveltejs / eslint-config

An ESLint config for Svelte
14 stars 11 forks source link

remove eslint-plugin-import #25

Closed benmccann closed 1 year ago

benmccann commented 1 year ago

eslint-plugin-import really doesn't add anything. import/no-duplicates can be replaced with no-duplicate-imports and the TypeScript compiler's typechecking will catch all the others. Removing these unnecessary rules will speed up linting as well as reducing the number of dependencies in our projects. eslint-plugin-import pulls in 75 transitive dependencies: https://npm.anvaka.com/#/view/2d/eslint-plugin-import.