Okay so just tried to update some packages, including some eslint-related stuff and shock-of-shocks it broke stuff... So I removed everything (rm -rf /node_modules, cleared out devDependencies in package.json), thinking I'd just re-install everything from scratch using this dumb long-ass command npm i -D eslint eslint-config-airbnb eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y. Still broken (because I assume it tried to install the updated versions)... looks like something in the React package maybe?

Trying to use this as an eslint config is actually stupid though. The number of times I've installed all this shit using the above command, only to have it throw errors is extremely frustrating. It's dependants should just be included and I shouldn't have to install all this extra bullshit just to use it. I understand the thinking behind it (what if not everyone wants the whole kitchen sink right) but clearly wider developer ergonomics were not a priority in designing this. Anyone have an alternative solution/one eslint config file will all the rules in it?
Anyway, for now I guess I'll just revert to whatever versions I was using before and just never update anything because who knows what might break tomorrow ¯__(ツ)__/¯
Okay so just tried to update some packages, including some
eslint-related stuff and shock-of-shocks it broke stuff... So I removed everything (rm -rf /node_modules, cleared outdevDependenciesinpackage.json), thinking I'd just re-install everything from scratch using this dumb long-ass commandnpm i -D eslint eslint-config-airbnb eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y. Still broken (because I assume it tried to install the updated versions)... looks like something in the React package maybe?Trying to use this as an
eslintconfig is actually stupid though. The number of times I've installed all this shit using the above command, only to have it throw errors is extremely frustrating. It's dependants should just be included and I shouldn't have to install all this extra bullshit just to use it. I understand the thinking behind it (what if not everyone wants the whole kitchen sink right) but clearly wider developer ergonomics were not a priority in designing this. Anyone have an alternative solution/oneeslintconfig file will all the rules in it?Anyway, for now I guess I'll just revert to whatever versions I was using before and just never update anything because who knows what might break tomorrow ¯__(ツ)__/¯