You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.
First off, thanks for making atom-lint! Great resource and makes it easy to use my preferred linters.
Back on topic: I'd be great to have a configuration option to disable linting for specific file types/names/extensions.
My use case: I have Rubocop enabled and it's trying to lint a large schema.rb file. This, as expected, is VERY slow and tends to lock up the UI in Atom. I don't manually edit my schema file, but I use it as a reference and atom-lint seems to run rubocop against it regardless of weather or not I actually edit the file.
My workaround for now is just temporarily disabling linting while I have such files open, but it'd be nice if I could configure atom-lint to do that for me.
The text was updated successfully, but these errors were encountered:
About the specific file exclusion feature, ideally I think it should be done in each linter (as proposed in rubocop/rubocop#893) so that you don't need to specify same patterns in both .rubocop.yml and atom-lint's configuration.
That said, not all linters support the feature (currently also RuboCop doesn't) and there would be some special cases where you want exclude arbitrary files only in Atom.
So yes, I'm going to add this feature to atom-lint.
First off, thanks for making atom-lint! Great resource and makes it easy to use my preferred linters.
Back on topic: I'd be great to have a configuration option to disable linting for specific file types/names/extensions.
My use case: I have Rubocop enabled and it's trying to lint a large
schema.rb
file. This, as expected, is VERY slow and tends to lock up the UI in Atom. I don't manually edit my schema file, but I use it as a reference and atom-lint seems to run rubocop against it regardless of weather or not I actually edit the file.My workaround for now is just temporarily disabling linting while I have such files open, but it'd be nice if I could configure atom-lint to do that for me.
The text was updated successfully, but these errors were encountered: