Comments (13)
👍 to this enhancement.
from eslint-watch.
+1, waiting for this very much
from eslint-watch.
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.
👍 this would be great
from eslint-watch.
its the first thing that I was looking for after using it for the first time. 👍
from eslint-watch.
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.
+1
docs say default for prop --cache is false. Considering that, this behaviour is a bug, not enhancement. +1 anyway.
from eslint-watch.
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.
My bad sorry I forgot the . For the extension. I think -- debug is broken btw.
from eslint-watch.
@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.
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.
This is a very required feature and would please me greatly 👍
from eslint-watch.
This issue is now in master awaiting a release
from eslint-watch.
Related Issues (20)
- Option to not print "clean" message; only errors HOT 4
- Changing branches on git triggers dozens of concurrent `eslint` processes to be created HOT 3
- Hope to have more comfortable information. HOT 2
- npm audit high priority warning HOT 1
- Error parsing '--rule' CLI option HOT 2
- Missing Module HOT 3
- Running `esw --changed -w` causes non-JS files to attempt to be linted HOT 4
- `--clear --color -w` causes duplicated output HOT 4
- Slowness, maybe because it's not just linting an individual file? not sure HOT 1
- Watch mode does print to the console HOT 4
- ESLint 8 support HOT 2
- "The --print-config option must be used with exactly one file name." HOT 1
- Nothing happens HOT 6
- `ENOENT` of `eslint` causes a silent exit rather than an expected error message to install `eslint`
- Print a message upon file watch trigger HOT 3
- --watch-ignore should include by default the ignored patterns
- Tried it and had to uninstall it HOT 2
- `--watch` doesn't respect file overrides, relies erroneously on `--ext`
- esw should read and ignore anything in `.eslintignore`
- Support for ESLint 9 and flat config
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 eslint-watch.