Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upIncremental lint #277
Comments
This comment has been minimized.
This comment has been minimized.
sindresorhus
commented
Oct 1, 2015
|
ESLint recently got a |
This comment has been minimized.
This comment has been minimized.
scottcorgan
closed this
Oct 1, 2015
This comment has been minimized.
This comment has been minimized.
|
Why close? |
This comment has been minimized.
This comment has been minimized.
|
It's not an issue. More like a reference to an answer now. The solution is with eslint. |
This comment has been minimized.
This comment has been minimized.
|
I guess I'm confused. I don't believe ...so this issue could be a request to consider turning on eslint caching? |
This comment has been minimized.
This comment has been minimized.
|
Oh duh, you're right. Re-opening. |
scottcorgan
reopened this
Oct 1, 2015
This comment has been minimized.
This comment has been minimized.
|
yes please. i like running standard with mocha-standard and |
This comment has been minimized.
This comment has been minimized.
nelix
commented
Nov 1, 2015
|
On the subject of incremental linting, an option to only lint files in git diff would be good for commit hooks, CI and perf. |
This comment has been minimized.
This comment has been minimized.
|
That would also be great for incremental repository linting: where a repository doesn't want to refactor the entire code base at once, but enforce it on all new code. |
This comment has been minimized.
This comment has been minimized.
|
Is this something still on the roadmap. I saw that 2 PRs were closed on standard-engine, and I'm not sure why. |
feross
added
the
help wanted
label
Feb 5, 2016
This comment has been minimized.
This comment has been minimized.
|
Yes, this is something that I'd like to ship since it could greatly improve the time it takes to run I gave this a go once, but didn't get it working reliably. @scottcorgan If you can make it work, we'll ship it! |
feross
added a commit
to standard/standard-engine
that referenced
this issue
Aug 19, 2016
This comment has been minimized.
This comment has been minimized.
|
PR to add support to |
feross
closed this
in
standard/standard-engine#125
Aug 19, 2016
This comment has been minimized.
This comment has been minimized.
|
Merged the PR! Running
This will ship as part of standard v8. |
This comment has been minimized.
This comment has been minimized.
|
Awesome!! |
This comment has been minimized.
This comment has been minimized.
samhatoum
commented
Dec 26, 2017
|
I can't see anywhere in the docs how to enable caching this from the |
This comment has been minimized.
This comment has been minimized.
|
@samhatoum There's nothing to enable. If you're using the |
scottcorgan commentedOct 1, 2015
Have there been any discussions or attempts and speeding up linting a large codebase with incremental linting (only lint the files that have changed)?
Or, is this a thing already with eslint?