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 Feb 10, 2024. It is now read-only.
SublimeLinter uses temp files to lint while you code. Problem is these temp files are created in a separate directory, so slim-lint can't do its automatic detection of the config file using the file path. We get around this by using the --config option with slim-lint. However, we can't supply the location of the rubocop config, so when slim-lint runs rubocop it resorts to its default configuration.
This leaves us two options:
Lint the actual file after its saved. This is less than ideal, as it slows down the linting process, and SublimeLinter will actually freeze SublimeText while it does its thing. Very annoying and cumbersome.
Modify slim-lint so that we can manually set the config path for rubocop.
For now I'll pursue option 2.
The text was updated successfully, but these errors were encountered:
SublimeLinter uses temp files to lint while you code. Problem is these temp files are created in a separate directory, so slim-lint can't do its automatic detection of the config file using the file path. We get around this by using the
--config
option withslim-lint
. However, we can't supply the location of the rubocop config, so when slim-lint runs rubocop it resorts to its default configuration.This leaves us two options:
slim-lint
so that we can manually set the config path for rubocop.For now I'll pursue option 2.
The text was updated successfully, but these errors were encountered: