Error: <my_dir>/node_modules/eslint-config-airbnb-base/rules/es6.js:
Configuration for rule "arrow-parens" is invalid:
Value "as-needed,[object Object]" has more items than allowed.
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"eqeqeq": [2, "allow-null"],
"func-names": 0,
"no-param-reassign": 0,
"new-cap": 0,
"max-len": 0,
"no-console": 0,
"no-case-declarations": 0,
"consistent-return": 0,
"global-require": 0,
"react/jsx-indent-props": 0,
"react/jsx-closing-bracket-location": 0,
"react/jsx-no-bind": 0,
"react/sort-comp": 0,
}
}
After updating to eslint-config-airbnb v11.1.0, I encounter error:
What's the problem? My
.eslintrc: