Skip to content

Commit

Permalink
Switch to find-unused-sass-variables for finding unused Sass variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Sep 17, 2018
1 parent bf4dab7 commit 47107d4
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 81 deletions.
80 changes: 0 additions & 80 deletions build/lint-vars.js

This file was deleted.

74 changes: 74 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"css-copy": "shx mkdir -p site/docs/4.1/dist/ && shx cp -r dist/css/ site/docs/4.1/dist/",
"css-lint": "stylelint --syntax scss \"scss/**/*.scss\"",
"css-lint-docs": "stylelint --syntax scss \"site/docs/4.1/assets/scss/*.scss\" && stylelint \"site/docs/**/*.css\"",
"css-lint-vars": "node build/lint-vars.js scss/ site/docs/",
"css-lint-vars": "fusv scss/ site/docs/",
"css-prefix": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
"css-prefix-docs": "postcss --config build/postcss.config.js --replace \"site/docs/**/*.css\" \"site/docs/**/*.css\"",
"css-minify": "cleancss --level 1 --format breaksWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss --level 1 --format breaksWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss --level 1 --format breaksWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css",
Expand Down Expand Up @@ -110,6 +110,7 @@
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"eslint": "^5.5.0",
"find-unused-sass-variables": "^0.2.1",
"glob": "^7.1.3",
"htmllint-cli": "^0.0.7",
"http-server": "^0.11.1",
Expand Down

0 comments on commit 47107d4

Please sign in to comment.