Open
Description
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
. Might want to configure so thatscripts
can usedevDependencies
, but all other files can only usedependencies
-
should probably add the converse ofProbably better to just letno-extraneous-dependencies
, which is https://github.com/depcheck/depcheckknip
do that; see Check for unused exports #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 usingunicorn/prefer-node-protocol