summaryrefslogtreecommitdiff
path: root/test/slimlint-test-files
AgeCommit message (Collapse)Author
2017-09-15slimlint: Search for .rubocop.yml and use itMarkus Doits
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