Hello, I am building a web app that was scaffolded from create-react-app, but uses airbnb-eslint-config. I have been using this for a few months with no issues, but earlier today, I rm -rf node_modules/ and reinstalled them, and am now getting the following error:
Failed to compile.
Error in ./src/index.js
Module build failed: Error: /Users/rich/Git/web-app/node_modules/eslint-config-airbnb-base/rules/best-practices.js:
Configuration for rule "no-param-reassign" is invalid:
Value "data["0"].ignorePropertyModificationsFor" has additional properties.
Referenced from: /Users/rich/Git/web-app/node_modules/eslint-config-airbnb-base/index.js
Referenced from: airbnb
Referenced from: /Users/rich/Git/web-app/node_modules/react-scripts/.eslintrc
at Array.forEach (native)
at Array.reduceRight (native)
at Array.reduceRight (native)
at Array.reduceRight (native)
@ multi ./~/react-dev-utils/webpackHotDevClient.js ./~/react-scripts/config/polyfills.js ./src/index.js
I've tried overriding this rule in my eslint config:
"no-param-reassign": [0, { "props": false }],
and I've tried:
"no-param-reassign": "off",
All to no avail. Can someone please help me understand what's changed, and what I'm missing?
Hello, I am building a web app that was scaffolded from create-react-app, but uses
airbnb-eslint-config. I have been using this for a few months with no issues, but earlier today, Irm -rf node_modules/and reinstalled them, and am now getting the following error:I've tried overriding this rule in my eslint config:
and I've tried:
All to no avail. Can someone please help me understand what's changed, and what I'm missing?