Coder Social home page Coder Social logo

Comments (13)

isTravis avatar isTravis commented on May 27, 2024 3

👍 to this enhancement.

from eslint-watch.

jeron-diovis avatar jeron-diovis commented on May 27, 2024

+1, waiting for this very much

from eslint-watch.

rizowski avatar rizowski commented on May 27, 2024

Alright, I will begin working on this feature. I cannot guarantee that it will be finished quickly but I will try my best. Thanks @jeron-diovis and @isTravis for bumping this enhancement.

from eslint-watch.

ejfrancis avatar ejfrancis commented on May 27, 2024

👍 this would be great

from eslint-watch.

s9tpepper avatar s9tpepper commented on May 27, 2024

its the first thing that I was looking for after using it for the first time. 👍

from eslint-watch.

rizowski avatar rizowski commented on May 27, 2024

I am going to be gone for a couple of weeks but when I get back I will implement this enhancement. Thanks guys for the 👍

from eslint-watch.

leonardoanalista avatar leonardoanalista commented on May 27, 2024

+1
docs say default for prop --cache is false. Considering that, this behaviour is a bug, not enhancement. +1 anyway.

from eslint-watch.

kellyrmilligan avatar kellyrmilligan commented on May 27, 2024

maybe i'm missing something here. a while back I used this and it was great. i'm setting it up again for a new project, and now when I change a file, it is not re-running. is the default behaviour different now? on every file change, I want to lint the changed file. is this off by default?

from eslint-watch.

kellyrmilligan avatar kellyrmilligan commented on May 27, 2024

My bad sorry I forgot the . For the extension. I think -- debug is broken btw.

from eslint-watch.

rizowski avatar rizowski commented on May 27, 2024

@kellyrmilligan Can you explain a little more. It sounds like there might be a bug with default directory linting. Eslint-watch should default to ./ if you don't provide a directory. But also to the full directory lint a really really young version of Eslint-Watch I believe had this feature. It was later changed to do a single file since at the time I was working on a large project with over 20,000 lint errors and it was impossible to find the file I was working on. But I don't think it has been a feature since pre 1.0.0

from eslint-watch.

kellyrmilligan avatar kellyrmilligan commented on May 27, 2024

Yes sorry, it was all my bad. I had --ext es6 and not .es6, so the full lint worked initially, then. It big afterwords. I tried enabling -- debug but just eventually did DEBUG=* before exciting the command to figure it out and also logging more in the code.

from eslint-watch.

cbacon91 avatar cbacon91 commented on May 27, 2024

This is a very required feature and would please me greatly 👍

from eslint-watch.

rizowski avatar rizowski commented on May 27, 2024

This issue is now in master awaiting a release

from eslint-watch.

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.