Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting/lint_mode to prevent linting on_load #1230

Open
braver opened this issue Mar 18, 2018 · 1 comment
Open

Setting/lint_mode to prevent linting on_load #1230

braver opened this issue Mar 18, 2018 · 1 comment

Comments

@braver
Copy link
Member

braver commented Mar 18, 2018

Originally posted in #1222 by @kaste:

I would like to see a change here for background mode as well and change the behavior of the BackendController.

We can have three modes (background|save|manual) plus a flag lint_on_load(true|false). Basically I could set background and lint_on_load to false for navigating through a code base, and linting would begin when I begin to write code.

EDIT: Removed outdated stuff.

@kaste kaste changed the title Refactor around lint modes Setting/lint_mode to prevent linting on_load Mar 28, 2019
@kaste
Copy link
Contributor

kaste commented Mar 28, 2019

This would help me a lot/sometimes. I don't know if we can do this as easy since we have the reason and lint_mode per project/linter thing.

The use case is simple:

  • Just browsing reading a code base.
  • E.g. Find/replace. If you do this on more files and forgot to disable SL ... you hate yourself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants