diff --git a/.hound.yml b/.hound.yml index b431ff44e1e..efb955f5b43 100644 --- a/.hound.yml +++ b/.hound.yml @@ -5,3 +5,6 @@ ruby: java_script: enabled: true config_file: .jshintrc + +scss: + enabled: true diff --git a/.scss-lint.yml b/.scss-lint.yml index e69de29bb2d..ca75ed0b26b 100644 --- a/.scss-lint.yml +++ b/.scss-lint.yml @@ -0,0 +1,4 @@ +scss_files: 'app/assets/stylesheets/**/*.scss' + +NestingDepth: + max_depth: 5 diff --git a/.travis.yml b/.travis.yml index b2edc7ea7fe..74b22c00e86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,14 +12,10 @@ addons: bundler_args: "--without development:production --deployment" cache: bundler -before_install: - - gem install scss-lint - before_script: - psql -c 'create database coursemology_test;' -U postgres - bundle exec rake db:setup script: - - scss-lint app/assets/stylesheets/ - bundle exec consistency_fail - bundle exec rake spec