1
1
mirror of https://github.com/primer/css.git synced 2024-12-29 17:12:27 +03:00

add "lint" npm script to all SCSS modules

This commit is contained in:
Shawn Allen 2017-07-12 11:33:05 -07:00
parent 1e72429c6a
commit 8e3e3aa493
24 changed files with 48 additions and 24 deletions

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-marketing-support": "^1.0.2",

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-marketing-support": "^1.0.2",

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"

View File

@ -15,7 +15,8 @@
"url": "https://github.com/primer/primer-css/issues"
},
"scripts": {
"test": "stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run lint"
},
"devDependencies": {
"stylelint": "*",

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-marketing-support": "^1.0.2",

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-marketing-support": "^1.0.2",

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-marketing-support": "^1.0.2",

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-marketing-support": "^1.0.2",

View File

@ -15,7 +15,8 @@
"url": "https://github.com/primer/primer-css/issues"
},
"scripts": {
"test": "stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run lint"
},
"devDependencies": {
"stylelint": "*",

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-marketing-support": "^1.0.2",

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"

View File

@ -19,7 +19,8 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"