From 6ebd8f355c974cb6b7c5d5aff20603c8c4b38feb Mon Sep 17 00:00:00 2001 From: Markus Doits Date: Sat, 2 Sep 2017 16:48:00 +0200 Subject: 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 --- test/slimlint-test-files/.rubocop.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 test/slimlint-test-files/.rubocop.yml (limited to 'test/slimlint-test-files/.rubocop.yml') diff --git a/test/slimlint-test-files/.rubocop.yml b/test/slimlint-test-files/.rubocop.yml new file mode 100644 index 00000000..e69de29b -- cgit v1.2.3