ESLint couldn't find the config "standard-with-typescript" to extend from.
See original GitHub issueTell us about your environment
- ESLint Version: 7.14.0
- Node Version: 14.13.1
- npm Version: 6.14.9
- yarn Version: 1.22.10
What parser (default, @babel/eslint-parser
, @typescript-eslint/parser
, etc.) are you using?
default
Please show your full configuration:
.package.json
"devDependencies": {
"@types/faker": "5.1.4",
"@typescript-eslint/eslint-plugin": "4.9.0",
"eslint": "7.14.0",
"eslint-config-standard-with-typescript": "19.0.1",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-react": "7.21.5",
"eslint-plugin-standard": "5.0.0",
"typescript": "4.1.2"
}
.eslintrc.json
{
"root": true,
"extends": [
"standard-with-typescript",
"plugin:react/recommended"
],
"parserOptions": {
"project": [
"./tsconfig.json",
"./devUtils/server/tsconfig.json"
],
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"react-hooks"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"@typescript-eslint/strict-boolean-expressions": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-floating-promises": 0,
"@typescript-eslint/consistent-type-definitions":0,
"no-return-assign": 0,
"operator-linebreak": 0,
"react/jsx-tag-spacing": 2,
"react/prop-types": 0,
"react/display-name": 0,
"@typescript-eslint/return-await": 0,
"react-hooks/rules-of-hooks": 2,
"react-hooks/exhaustive-deps": 2
}
}
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
run command
yarn eslint "src/**"
What did you expect to happen? ESLint find that config
What actually happened? Please include the actual, raw output from ESLint.
yarn run v1.22.10
$ /node_modules/.bin/eslint 'src/**'
Oops! Something went wrong! :(
ESLint: 7.14.0
ESLint couldn't find the config "standard-with-typescript" to extend from. Please check that the name of the config is correct.
The config "standard-with-typescript" was referenced from the config file in ".../.eslintrc.json".
If you still have problems, please stop by https://eslint.org/chat/help to chat with the team.
error Command failed with exit code 2.
PS Main issue is when i try run these commands:
yarn install --production
yarn run build
I got error described above. I know about --production flag, but with previous version eslint 6.8.0 everything was alright.
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
eslint-config-standard-with-typescript - npm
An ESLint Shareable Config for JavaScript Standard Style with TypeScript support. Latest version: 24.0.0, last published: 14 days ago.
Read more >eslint command fails on CI Server with error "ESLint couldn't ...
ESLint couldn't find the config "standard" to extend from. Please check that the name of the config is correct. The config "standard" was ......
Read more >eslint-config-standard-with-typescript - npm package - Snyk
An ESLint Shareable Config for JavaScript Standard Style with TypeScript support For more information about how to use this package see README.
Read more >eslint/eslint - Gitter
ESLint : 8.18.0 ESLint couldn't find the config "react-app" to extend from. Please check that the name of the config is correct.
Read more >eslint couldn't find the config prettier to extend from - You.com
Different lint rules for JavaScript and TypeScript files. The problem happens for one of the reasons below: You're using a rule which require...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@yeonjuan unfortunately, i can’t provide neither a reproducible way or github repo, but i can share previous configuration before migration.
Like i said, i know about --production flag. With previous version
eslint 6.8.0
everything work as intended without errors. Andyarn eslint "src/**"
error occurs, what about that?