diff --git a/src/styles/Makefile.am b/src/styles/Makefile.am index 1a8f2980..469271d9 100644 --- a/src/styles/Makefile.am +++ b/src/styles/Makefile.am @@ -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 diff --git a/src/styles/scss.yml b/src/styles/scss.yml index 80c15e53..1af0bd0b 100644 --- a/src/styles/scss.yml +++ b/src/styles/scss.yml @@ -1,7 +1,3 @@ -scss_files: "**/*.scss" - -exclude: "libs/**" - linters: BangFormat: enabled: true