Giter VIP home page Giter VIP logo

Comments (5)

egamma avatar egamma commented on July 17, 2024

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 a watch 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.

zimond avatar zimond commented on July 17, 2024

Thanks for the quick reply. I will try watch

from vscode-eslint.

dbaeumer avatar dbaeumer commented on July 17, 2024

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.

egamma avatar egamma commented on July 17, 2024

@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.

dbaeumer avatar dbaeumer commented on July 17, 2024

The owner for eslint problems is now correctly set to eslint.

from vscode-eslint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.