Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upEnable more rules from the import plugin #947
Comments
This comment has been minimized.
This comment has been minimized.
|
Fortunately, it appears to have been sped up. If we benchmark it we can consider re-enabling it. benmosher/eslint-plugin-import#803 (comment) |
This comment has been minimized.
This comment has been minimized.
stale
bot
commented
May 18, 2018
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
stale
bot
added
the
stale
label
May 18, 2018
feross
added
the
enhancement
label
May 18, 2018
stale
bot
removed
the
stale
label
May 18, 2018
This comment has been minimized.
This comment has been minimized.
|
Add this to the list for Standard 14 (#1321)? |
feross
added this to the standard v14 milestone
Jul 28, 2019
This comment has been minimized.
This comment has been minimized.
|
I just re-enabled |
This comment has been minimized.
This comment has been minimized.
|
I’d be interested in import/order. |
feross
modified the milestones:
standard 14,
standard 15
Aug 15, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LinusU commentedJul 6, 2017
There seems to be a lot of rules from the import plugin that aren't enable, I think that we should consider enabling them.
Currently the ones enabled are:
which leaves a lot of rules not enabled:
Rules
Static analysis:
no-unresolved)named)default)namespace)no-restricted-paths)no-absolute-path)require()calls with expressions (no-dynamic-require)no-internal-modules)no-webpack-loader-syntax)Helpful warnings:
export)no-named-as-default)no-named-as-default-member)@deprecateddocumentation tag (no-deprecated)no-extraneous-dependencies)varorlet. (no-mutable-exports)Module systems:
scriptvs.module) (unambiguous)requirecalls andmodule.exportsorexports.*. (no-commonjs)requireanddefinecalls. (no-amd)no-nodejs-modules)Style guide:
first)no-duplicates)no-namespace)extensions)order)newline-after-import)prefer-default-export)max-dependencies)no-unassigned-import)no-named-default)no-anonymous-default-export)