-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[camelcase] definition for rule '@typescript-eslint/camelcase' was not found #2077
Comments
Please take a look at the release notes for v3. your problem is that |
Same error here, this is mi {
"extends": [
"eslint:recommended",
"airbnb-typescript/base",
"plugin:@typescript-eslint/recommended",
"plugin:node/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint", "sort-keys-fix"],
"rules": {
"@typescript-eslint/semi": ["error", "never"],
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "default",
"format": ["camelCase"]
},
{
"selector": "variable",
"format": ["camelCase", "UPPER_CASE"]
},
{
"selector": "parameter",
"format": ["camelCase"],
"leadingUnderscore": "allow"
},
{
"selector": "memberLike",
"modifiers": ["private"],
"format": ["camelCase"],
"leadingUnderscore": "require"
},
{
"selector": "typeLike",
"format": ["PascalCase"]
}
],
"no-console": "off",
"no-param-reassign": "off",
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"radix": ["error", "as-needed"],
"semi": "off",
"sort-keys": "error"
}
} Versions:
|
it's the same problem - |
Oh, I didn't know that. I guess the only thing I can do is to wait for news. |
I added rules for resolve this problem:
|
Getting the same issue... annoying issue. Above code did not fix it for me. |
In the meantime, if you use the
|
Repro
When using
all
preset it throws "Definition for rule '@typescript-eslint/camelcase' was not found" error.Expected Result
It should not throw an error.
Actual Result
Getting errors:
Versions
@typescript-eslint/eslint-plugin
3.0.0
@typescript-eslint/parser
3.0.0
TypeScript
3.9.3
ESLint
7.1.0
node
14.2.0
npm
6.14.4
The text was updated successfully, but these errors were encountered: