https://github.com/import-js/eslint-plugin-import/ Raised in https://github.com/cursorless-dev/cursorless/pull/1076/files#r1003316897 - [ ] https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/order.md - [ ] [`import/no-extraneous-dependencies`](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-extraneous-dependencies.md). Might want to configure so that `scripts` can use `devDependencies`, but all other files can only use `dependencies` - [ ] ~~should probably add the converse of `no-extraneous-dependencies`, which is https://github.com/depcheck/depcheck~~ Probably better to just let `knip` do that; see #1414 - [ ] enable recommended linters for `eslint-plugin-import` - [ ] Disallow default imports. These don't play nicely with renames across module boundaries when you're using a barrel - [ ] if there’s a barrel in a directory, disallow importing from anything within that directory other than barrel? - [ ] `node:` prefix using [`unicorn/prefer-node-protocol`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-node-protocol.md)
https://github.com/import-js/eslint-plugin-import/
Raised in https://github.com/cursorless-dev/cursorless/pull/1076/files#r1003316897
import/no-extraneous-dependencies. Might want to configure so thatscriptscan usedevDependencies, but all other files can only usedependenciesshould probably add the converse ofProbably better to just letno-extraneous-dependencies, which is https://github.com/depcheck/depcheckknipdo that; see Check for unused exports #1414eslint-plugin-importnode:prefix usingunicorn/prefer-node-protocol