From fb7fb62f79ba1f6fd3e2b758b315d4b29e8950dc Mon Sep 17 00:00:00 2001 From: Paul Mackay Date: Tue, 9 Feb 2016 06:11:13 +0000 Subject: [PATCH] Add SCSS lint config --- .codeclimate.yml | 4 +++- .scss-lint.yml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .scss-lint.yml diff --git a/.codeclimate.yml b/.codeclimate.yml index ff16aa8f10..d737c0b3c9 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -1,6 +1,8 @@ engines: rubocop: enabled: true + scss-lint: + enabled: true ratings: paths: - app/** @@ -8,4 +10,4 @@ ratings: - "**.rb" exclude_paths: - spec/**/* -- vendor/**/* \ No newline at end of file +- vendor/**/* diff --git a/.scss-lint.yml b/.scss-lint.yml new file mode 100644 index 0000000000..d90daf1407 --- /dev/null +++ b/.scss-lint.yml @@ -0,0 +1,3 @@ +scss_files: 'app/assets/stylesheets/**/*.css.scss' + +exclude: 'app/assets/stylesheets/shared/**'