V5 cannot find eslintrc
See original GitHub issueTell us about your environment
- ESLint Version: 5.0.0-alpha.2
- Node Version: 10.1.0
- npm Version: 6.0.0
What parser (default, Babel-ESLint, etc.) are you using? babel-eslint Please show your full configuration:
Configuration
{
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module",
"ecmaFeatures": {
"globalReturn": true, // allow return statements in the global scope
"impliedStrict": true, // enable global strict mode (if ecmaVersion is 5 or greater)
"jsx": true, // enable JSX
"experimentalObjectRestSpread": true, // enable support for the experimental object rest/spread properties
"allowImportExportEverywhere": true
}
},
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"jest": true,
"commonjs": true,
"shared-node-browser": true,
"es6": true,
"worker": false,
"amd": true
},
"rules": {
"semi": [ 2, "always" ],
"no-underscore-dangle": "off",
"no-useless-escape": "off",
"max-len": ["error", { "code": 150 }]
},
"extends": "airbnb-base"
}
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
./node_modules/.bin/eslint --quiet ./
What did you expect to happen? Run the lint check What actually happened? Please include the actual, raw output from ESLint. It look like didn’t find the my eslintrc. I just upgrade to v5 and got this error. It work fine at v4. My .eslintrc is at top of my project folder
Oops! Something went wrong! :(
ESLint: 5.0.0-alpha.2.
No files matching the pattern "./config" were found.
Please check for typing mistakes in the pattern.
error Command failed with exit code 2
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
eslint won't update past v4.5.0, "Error: Cannot find module ...
eslint v5.9.0 is now installed locally in my project root and I can see eslint-config-google in the node modules. eslint 5.9.0 is installed ......
Read more >WEB-53184 - YouTrack
eslintrc.json': Cannot find module '@typescript-eslint/eslint-plugin' ... Gets the attached ESLint Error line top of the Editor and the ESLint doesn't work.
Read more >eslint/eslint - Gitter
I'm running eslint via: "./node_modules/.bin/eslint" My .eslintrc airbnb section looks like this: "extends": "airbnb", "globals": { "Atomics": "readonly",
Read more >ESLint - npm
ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code. ... Why can't ESLint find my plugins?
Read more >Configuration Files - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
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
It’s caused by this change.
That makes sense. Thank you for your explanation.