linter adjustments and refactor prep
This commit is contained in:
@ -77,6 +77,11 @@ guard :shell, all_on_start: true do
|
||||
system %(echo "ESLint:\033[32m #{file[0]}\033[0m")
|
||||
system %(./node_modules/eslint/bin/eslint.js #{file[0]})
|
||||
end
|
||||
|
||||
watch %r{app/assets/stylesheets/*/.*} do |file|
|
||||
system %(echo "sass-lint:\033[32m #{file[0]}\033[0m")
|
||||
system %(sass-lint --cache --config .sass-lint.yml '#{file[0]}' --verbose --no-exit)
|
||||
end
|
||||
end
|
||||
|
||||
guard :rubocop, cli: %w(-D -S -a) do
|
||||
|
Reference in New Issue
Block a user