You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I disable airbnb-base value in extends section, the error disappears.
Error: /Users/sergii/code/project/node_modules/eslint-config-airbnb-base/rules/style.js:
Configuration for rule "no-restricted-syntax" is invalid:
Value "[object Object]" is the wrong type.
Error: /Users/sergii/code/project/node_modules/eslint-config-airbnb-base/rules/style.js:
Configuration for rule "no-restricted-syntax" is invalid:
Value "[object Object]" is the wrong type.
Referenced from: airbnb-base
Referenced from: /Users/sergii/code/project/.eslintrc.js
at validateRuleOptions (/Users/sergii/code/project/node_modules/eslint/lib/config/config-validator.js:109:15)
at Object.keys.forEach.id (/Users/sergii/code/project/node_modules/eslint/lib/config/config-validator.js:156:13)
at Array.forEach (native)
at Object.validate (/Users/sergii/code/project/node_modules/eslint/lib/config/config-validator.js:155:35)
at load (/Users/sergii/code/project/node_modules/eslint/lib/config/config-file.js:559:19)
at configExtends.reduceRight (/Users/sergii/code/project/node_modules/eslint/lib/config/config-file.js:424:36)
at Array.reduceRight (native)
at applyExtends (/Users/sergii/code/project/node_modules/eslint/lib/config/config-file.js:408:28)
at load (/Users/sergii/code/project/node_modules/eslint/lib/config/config-file.js:566:22)
at configExtends.reduceRight (/Users/sergii/code/project/node_modules/eslint/lib/config/config-file.js:424:36)
at Array.reduceRight (native)
at applyExtends (/Users/sergii/code/project/node_modules/eslint/lib/config/config-file.js:408:28)
at Object.load (/Users/sergii/code/project/node_modules/eslint/lib/config/config-file.js:566:22)
at loadConfig (/Users/sergii/code/project/node_modules/eslint/lib/config.js:63:33)
at new Config (/Users/sergii/code/project/node_modules/eslint/lib/config.js:229:42)
at CLIEngine.executeOnText (/Users/sergii/code/project/node_modules/eslint/lib/cli-engine.js:741:28)
The text was updated successfully, but these errors were encountered:
Fails on:
eslint: 3.19.0
eslint-config-airbnb-base: 11.1.3
Works on:
eslint: 3.15.0
eslint-config-airbnb-base: 11.1.0
.eslintrc.js
When I disable
airbnb-base
value inextends
section, the error disappears.The text was updated successfully, but these errors were encountered: