4.0.0: ESLint configuration is invalid: - Unexpected top-level property "ecmaFeatures"
See original GitHub issueTell us about your environment
- ESLint Version: 4.0.0
- Node Version: 6.11.0
- npm Version: 5.0.3
What parser (default, Babel-ESLint, etc.) are you using? default
Please show your full configuration:
.eslintrc.json
{
"extends": [
"./eslintDefaults.json"
]
}
eslintDefaults.json
{
"parserOptions": {
"ecmaVersion": 8
},
"env": {
"es6": true
},
"extends": "eslint:recommended",
"globals": {
},
"plugins": [
],
"rules": {
}
}
What did you do? Please include the actual source code causing the issue.
What did you expect to happen?
What actually happened? Please include the actual, raw output from ESLint.
Error: D:\MyDev\ljs_app\trunk\periscope\build\test\selenium\public\.eslintrc:
ESLint configuration is invalid:
- Unexpected top-level property "ecmaFeatures".
Issue Analytics
- State:
- Created 6 years ago
- Reactions:35
- Comments:27 (8 by maintainers)
Top Results From Across the Web
ESLint configuration in .eslintrc.js is invalid: - Unexpected top ...
The top-level rules and config apply to all the matched files according to your command line options ( --ext etc.).
Read more >eslint/eslint - Gitter
Error: [object Object ]: ESLint configuration is invalid: - Unexpected top-level property "ecmaFeatures". I ve searched on my project and i see that...
Read more >ESLint - Unexpected top-level property "ecmaFeatures"
4.0.0 : ESLint configuration is invalid: - Unexpected top-level property "ecmaFeatures"
Read more >eslint | Yarn - Package Manager
v8.30.0 - December 16, 2022. f2c4737 chore: upgrade @eslint/eslintrc@1.4.0 (#16675) (Milos Djermanovic); 1a327aa fix: Ensure flat config unignores work ...
Read more >Point npm run testmc to use mach to avoid error with linting
Error: ESLint configuration in ../../../.eslintrc.js is invalid: - Unexpected top-level property "ignorePatterns". Maybe the more interesting question (but ...
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
Looking here, they nested
ecmaFeatures
underparserOptions
.eslint v4 is not yet supported in
eslint-config-airbnb
andeslint-config-airbnb-base
. https://github.com/airbnb/javascript/issues/1447