Comments (5)
This is the expected behaviour.
But I would like to know a list of all my errors through the project. So I defined a task to run eslint through the project.
This is the right thing to do and we recommend to do this using a task runner like gulp or grunt.
Now I open an error and fixes it, but the marker is not cleared.
If you want this behaviour then you should configure awatch
task using your task runner. When you do this, then I recommended to configure running eslint with the --cache command line argument.
http://eslint.org/docs/user-guide/command-line-interface. In this way eslint is only run on files that have changed.
@dbaeumer we should document how to optimally configure eslint for a js project.
from vscode-eslint.
Thanks for the quick reply. I will try watch
from vscode-eslint.
I looked into this and there is some misalignment with problem matchers defined in VSCode and extensions reporting errors. So I suggest to do the following:
- problem matchers that match eslint problems set the owner to eslint.
- Same for the eslint extension.
@egamma: this will make a much nicer expierence for eslint. We should do the same for jscs, tslint, jshint.
from vscode-eslint.
@dbaeumer fully agreed and I'm setting the owner inside vscode-tslint. What I don't do is to set the owner on the problem matcher.
from vscode-eslint.
The owner for eslint problems is now correctly set to eslint.
from vscode-eslint.
Related Issues (20)
- ESLint config not found for flat config HOT 6
- [feat] `eslint.lintTask.command: string`
- Parsing error: __classPrivateFieldGet(...).at is not a function | After upgrading to newest version of Typescript & Eslint HOT 3
- Update default options for `eslint.probe` to include json, jsonc HOT 1
- Local config seems to be ignored :shrug: HOT 3
- eslint is not loading suddenly HOT 1
- Sorting is bugged HOT 2
- Full support for esm flat configs HOT 10
- Crashed 5 times HOT 2
- vscode-eslint doesn't run on Nx monorepo project files
- .vscode/settins.json set eslint.nodePath, Failed to load the ESLint library HOT 4
- Regression after switching to pre-release - Eslint no longer loading against project files. HOT 5
- eslint + typescript + monorepo - works correctly on CLI, but not in the IDE HOT 4
- Publish eslint to Open VSX HOT 2
- Separate options per working directory HOT 2
- cache files (`.eslintcache`) on save HOT 1
- Worth using `NODE_COMPILE_CACHE` when detecting node v22+ HOT 3
- why is the exlint:source-code-fxer shouldFix parameter false HOT 7
- Bug: When "Open Workspace from File" eslint complains that it cannot find imports, when "Open from Folder" the same code, no issues HOT 5
- bug: import attributes is not supported HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-eslint.