-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: support @scope for @scope/eslint-plugin #9903
Comments
I add this to TSC Summary: ESLint resolves
Because we have received the request " TSC Question: Should we accept this feature? |
What happens if plugins:
- @foo
- eslint-plugin-@foo
rules:
@foo/bar: error It seems like |
I think that `eslint-plugin-@foo` is not a valid name for npm packages:
https://github.com/npm/validate-npm-package-name/blob/master/index.js#L76
|
In last week's TSC meeting, the TSC decided to accept this as a breaking change. |
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
Please show your full configuration:
Configuration
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
I run ESLint.
What did you expect to happen?
ESLint loads
@scope/eslint-plugin
.What actually happened? Please include the actual, raw output from ESLint.
ESLint failed to load
eslint-plugin-@scope
.ESLint supports
@scope
for@scope/eslint-config
since #3123, but doesn't support@scope
for@scope/eslint-plugin
.It looks inconsistent.
I propose the feature, ESLint resolves
plugins: ["@scope"]
to@scope/eslint-plugin
.The text was updated successfully, but these errors were encountered: