Browse Source

style: ensure component stylesheets lint

Update glob pattern in stylesheet lint scripts to ensure all stylesheets
are linted.

Fix #513
renovate/lint-staged-8.x
Tom Kirkpatrick 7 years ago
parent
commit
e72323ba14
No known key found for this signature in database GPG Key ID: 72203A8EC5967EA8
  1. 4
      package.json

4
package.json

@ -16,9 +16,9 @@
"lint-fix-base": "npm run lint-base -- --fix",
"lint-fix": "npm run lint-fix-base -- \"./**/*.{js,json,md}\"",
"lint-styles-base": "stylelint --syntax scss",
"lint-styles": "npm run lint-styles-base -- app/*.scss app/components/*.scss",
"lint-styles": "npm run lint-styles-base -- app/*.scss app/components/**/*.scss",
"lint-styles-fix-base": "npm run lint-styles-base -- --fix",
"lint-styles-fix": "npm run lint-styles-fix-base -- app/*.scss app/components/*.scss",
"lint-styles-fix": "npm run lint-styles-fix-base -- app/*.scss app/components/**/*.scss",
"lint-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check",
"lint-ci": "npm run lint && npm run lint-styles && npm run flow",
"package": "npm run build && build --publish never",

Loading…
Cancel
Save