Open coriander31415 opened 3 years ago
npm i
npm WARN eslint-config-airbnb@18.2.0 requires a peer of eslint-plugin-jsx-a11y@^6.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-airbnb@18.2.0 requires a peer of eslint-plugin-react@^7.20.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-airbnb@18.2.0 requires a peer of eslint-plugin-react-hooks@^4 || ^3 || ^2.3.0 || ^1.7.0 but none is installed. You must install peer dependencies yourself.
I installed eslint-config-airbnb-base, when I created a new project. https://www.npmjs.com/package/eslint-config-airbnb-base
I installed eslint-config-airbnb-base, when I created a new project. https://www.npmjs.com/package/eslint-config-airbnb-base
Updated, but the problem is not with the eslint-config-airbnb-base
:
The problem is with eslint-config-airbnb@18.2.0
:
you added it with initial commit:
because it was required by "eslint-config-airbnb-typescript"
:
"linebreak-style" : 0
or"linebreak-style": ["error", "unix"],
As for now, set as"linebreak-style": [2, "windows"],
leads to errors in different OS:Eslint linebreak-style rule