stylelint-config-sass-guidelines

v4.0.1
Sharable stylelint config based on https://sass-guidelin.es/
stylelint stylelint-config stylelint-scss scss sass guidelines

copy

copyfiles -u 1 src/.stylelintrc.json .

tape

babel-tape-runner '__tests__/**/*.js'

test

npm run build && nyc npm run tape

build

npm run copy; npm run replace; npm run rename

rename

rename-files ./ '.stylelintrc.json' 'index.js'

replace

replace '^{+ .."plugins":' 'module.exports = { "plugins":' .stylelintrc.json

release:major

npm test && npm run build && npm version major -m "Released version %s" && npm publish && git push --follow-tags

release:minor

npm test && npm run build && npm version minor -m "Released version %s" && npm publish && git push --follow-tags

release:patch

npm test && npm run build && npm version patch -m "Released version %s" && npm publish && git push --follow-tags

scss-lint-failing-case

cd src; bundle exec scss-lint failing-test-cases.scss -c .scss-lint.yml; exit 0

scss-lint-passing-case

cd src; bundle exec scss-lint passing-test-cases.scss -c .scss-lint.yml; exit 0

stylelint-failing-case

cd src; stylelint failing-test-cases.scss; exit 0

stylelint-passing-case

cd src; stylelint passing-test-cases.scss; exit 0

Metadata

  • MIT
  • Whatever
  • Brett Jankord
  • released 11/16/2017

Downloads

Maintainers