eslint behaves differently on windows?
See original GitHub issueI put eslint into our project today.
the piplines are running. now some developers on windows have complained that eslint only throws errors with them.
If you take a closer look at them, they are indeed errors that should be found like ‘no-magic-number’.
Interestingly, these are not found on mac or ubuntu(docker-image).
Is this a preference issue or is it a bug?
"eslint": "6.8.0",
"eslint-config-airbnb": "18.1.0",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "2.5.1",
node:12.6.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Why does Eslint report different results on different machines?
Running the command "eslint \"packages/**/*.{ts,tsx}\"" on my local machine (Windows) reports 1 error and 409 warnings but running the same ...
Read more >Local Install of ESLint Breaks In-Editor Linting
Visual Studiowindows 10.0visual studio 2019 version 16.6. Pinned ... so I can't explain the fact that you're seeing different behavior using the CLI....
Read more >Ignoring Code - ESLint - Pluggable JavaScript Linter
Ignore patterns behave according to the .gitignore specification. ... If you'd prefer to use a different file than the .eslintignore in the current...
Read more >Linting JavaScript in Visual Studio - Microsoft Learn
In this article. Enabling linting support; Installing ESLint dependencies; Disabling linting rules and auto-fixes; Troubleshooting.
Read more >ESLint Custom Tooling at Scale - Medium
We use ESLint to ensure high code quality and to promote coding best ... cases helps to ensure that your plugin behaves correctly...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I guess its solved with a small change Before:
"lint:eslint": "eslint src/**/*.js”,
After"lint:eslint": "eslint './src/**/*.js'",
Closing this issue since the question has been answered.