Closed ckirk closed 2 years ago
Update: create-react-app
currently uses eslint
v8. Apparently linter-eslint
doesn't fully support eslint
v8 yet and can't be upgraded properly until Atom starts bundling a more recent version of node??
This is kind of a big problem. Did everyone jump ship to VS Code?
I didin't jump to anywhere else, I have the similar issue, cli linting is enough for now. If I can have more time, I'll look forward how to fix it.
We just released linter-eslint-node which should work with eslint v8. We created a new package for this because it required many breaking changes and we want people using linter-eslint successfully with older versions of eslint to be able to continue using it.
We just released linter-eslint-node which should work with eslint v8. We created a new package for this because it required many breaking changes and we want people using linter-eslint successfully with older versions of eslint to be able to continue using it.
That link is not working
Issue Type
Bug
Issue Description
When creating a new app with create-react-app, linting in atom isn't working. Linting works fine from CLI, browser output, etc. which leads me to believe this is an issue with
linter-eslint
itself.In atom I get the following error:
If I remove
react-app/jest
from eslintConfig inpackage.json
, I get the following error:create-react-app is supposed to have linting with eslint pre-configured out of the box. It includes eslint and all configurations as dependencies. create-react-app's eslint configuration is broken out into its own package called eslint-config-react-app and comes pre-packaged with create-react-app
I've also tried including the eslint-config-react-app configuration in a non create-react-app project and get the same errors.
I do not have eslint installed globally.
Bug Checklist
eslint
CLI gives the proper result, whilelinter-eslint
does notLinter Eslint: Debug
command from the Command Palette belowPackage.json
linter-eslint debugging information