mirror of
https://github.com/primer/css.git
synced 2024-12-29 00:58:31 +03:00
add "lint" npm script to all SCSS modules
This commit is contained in:
parent
1e72429c6a
commit
8e3e3aa493
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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",
|
||||
|
@ -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"
|
||||
|
@ -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",
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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": "*",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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"
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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": "*",
|
||||
|
@ -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"
|
||||
|
@ -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",
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user