question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add a flag to turn on full directory lint on every file save

See original GitHub issue

Idea first presented by: @zack37

While there is a way to trigger a full directory lint while watching ( #11 ); it would be nice to be able to set a flag that overrides the single file lint functionality so you don’t have to hit enter if you don’t want to. This feature may not be a desired thing for older projects that are trying to get into the practice of linting. So this feature should be an opt-in flag. It probably doesn’t matter if it is an opt-in feature anymore with this going to a 3.0.0 release. By default the --changed will enable single file linting on --watch

The expected flag could be something along the lines of esw -w --changed. This flag might need to be a conditional flag, where it can only be used if the watch flag is enabled.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:3
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
isTraviscommented, Mar 11, 2016

👍 to this enhancement.

0reactions
rizowskicommented, Feb 12, 2017

This issue is now in master awaiting a release

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to lint entire folder using tslint - typescript - Stack Overflow
-p, --project: The path or directory containing a tsconfig.json file that will be used to determine which files will be linted. This flag...
Read more >
lint all files in a directory · Issue #352 · PyCQA/pylint - GitHub
in order to tell pylint to look at all my files. flake8/pep8 already have this behavior. They make it configurable via a filepatterns...
Read more >
Configuration Files - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >
How To Lint and Format Code with ESLint in Visual Studio Code
Using the --save-dev flag ensures that eslint will be listed in your package.json file as a development dependency only. Now that ESLint is ......
Read more >
Configuration - golangci-lint
GolangCI-Lint also searches for config files in all directories from the directory of the first analyzed path up to the root. If no...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found