Browse Source

Do not let globally set scss-lint IdSelectors affect display of errors in other files.

pull/178/head
Evan Theurer 11 years ago committed by Simon Eisenmann
parent
commit
b5f4893173
  1. 4
      src/styles/Makefile.am
  2. 4
      src/styles/scss.yml

4
src/styles/Makefile.am

@ -46,4 +46,6 @@ styleshint: @@ -46,4 +46,6 @@ styleshint:
styleslint:
@if [ "$(SCSS_LINT)" = "" ]; then echo "Command 'scss-lint' not found, required when linting styles"; exit 1; fi
$(SCSS_LINT) -c scss.yml
@echo "Please be patient, this takes a while..."
@files=`find . -not -path "*/libs/*" -name "*.scss"|sort -u`; \
for f in $$files; do $(SCSS_LINT) -c scss.yml $$f; done

4
src/styles/scss.yml

@ -1,7 +1,3 @@ @@ -1,7 +1,3 @@
scss_files: "**/*.scss"
exclude: "libs/**"
linters:
BangFormat:
enabled: true

Loading…
Cancel
Save