Skip to content

Commit

Permalink
Replace SASS linting wth SCSS linting
Browse files Browse the repository at this point in the history
For complete set of checks
  • Loading branch information
ain committed Jun 25, 2016
1 parent 01d89e9 commit c9993e4
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -3,5 +3,5 @@ node_js:
- 6
script:
- npm run eslint
- npm run sasslint
- npm run scsslint
- npm test
3 changes: 3 additions & 0 deletions Gemfile
@@ -0,0 +1,3 @@
source 'https://rubygems.org'

gem 'scss_lint', '~> 0.48.0', require: false
17 changes: 17 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,17 @@
GEM
remote: https://rubygems.org/
specs:
rake (11.2.2)
sass (3.4.22)
scss_lint (0.48.0)
rake (>= 0.9, < 12)
sass (~> 3.4.15)

PLATFORMS
ruby

DEPENDENCIES
scss_lint (~> 0.48.0)

BUNDLED WITH
1.12.5
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -18,7 +18,6 @@
"jsdom": "^9.2.1",
"mocha": "^2.5.3",
"node-sass": "^3.7.0",
"sass-lint": "^1.7.0",
"uglify-js": "^2.6.2",
"watchify": "^3.7.0"
},
Expand All @@ -33,7 +32,7 @@
"browserify": "browserify src/index.js -o dist/smartbanner.js -t [ babelify --presets [ es2015 ] ]",
"uglify": "uglifyjs dist/smartbanner.js -o dist/smartbanner.min.js",
"eslint": "eslint src/*.js",
"sasslint": "node_modules/sass-lint/bin/sass-lint.js -c .scss-lint.yml src/smartbanner.scss -v -q",
"scsslint": "scss-lint src/smartbanner.scss",
"build:js": "npm run browserify && npm run uglify",
"build:css": "node_modules/node-sass/bin/node-sass src/smartbanner.scss dist/smartbanner.css",
"watch:js": "watchify src/index.js -o dist/smartbanner.js -t [ babelify --presets [ es2015 ] ] -v",
Expand Down

0 comments on commit c9993e4

Please sign in to comment.