diff options
author | Markus Doits <markus.doits@stellenticket.de> | 2017-09-02 16:48:00 +0200 |
---|---|---|
committer | Markus Doits <markus.doits@stellenticket.de> | 2017-09-15 18:56:59 +0200 |
commit | 6ebd8f355c974cb6b7c5d5aff20603c8c4b38feb (patch) | |
tree | 2bee605e0ef8e9d856b004acb8b6a7472d706d0d /test/slimlint-test-files | |
parent | a59d1ddbf39fac6463c3b8748faf2651c9f9130d (diff) | |
download | ale-6ebd8f355c974cb6b7c5d5aff20603c8c4b38feb.zip |
slimlint: Search for .rubocop.yml and use it
This fixes slim-lint not honoring a `.rubocop.yml` in the file's or
parent directory. Due to the way slim-lint calls rubocop, it requires
the special `SLIM_LINT_RUBUCOP_CONF` env var to pick up the
`.rubocop.yml` if it is not run on the real file (which is the case
here).
See https://github.com/sds/slim-lint/blob/master/lib/slim_lint/linter/README.md#rubocop
Diffstat (limited to 'test/slimlint-test-files')
-rw-r--r-- | test/slimlint-test-files/.rubocop.yml | 0 | ||||
-rw-r--r-- | test/slimlint-test-files/subdir/file.slim | 0 |
2 files changed, 0 insertions, 0 deletions
diff --git a/test/slimlint-test-files/.rubocop.yml b/test/slimlint-test-files/.rubocop.yml new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/slimlint-test-files/.rubocop.yml diff --git a/test/slimlint-test-files/subdir/file.slim b/test/slimlint-test-files/subdir/file.slim new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/slimlint-test-files/subdir/file.slim |