Added stylelint + config
This commit is contained in:
11
package.json
11
package.json
@ -10,8 +10,11 @@
|
||||
"build": "webpack --config webpack.config.js",
|
||||
"storybook": "start-storybook -p 9001",
|
||||
"storybook-build": "build-storybook -o dist",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "npm run lint -- --fix",
|
||||
"lint": "npm run lint:js & npm run lint:css",
|
||||
"lint:js": "eslint .",
|
||||
"lint:js:fix": "npm run lint:js -- --fix",
|
||||
"lint:css": "stylelint 'src/**/*.css'",
|
||||
"lint:css:fix": "stylelint **/*.css",
|
||||
"lint:staged": "lint-staged"
|
||||
},
|
||||
"lint-staged": {
|
||||
@ -72,6 +75,10 @@
|
||||
"redux-thunk": "^1.0.3",
|
||||
"sass-loader": "^4.0.2",
|
||||
"style-loader": "^0.13.0",
|
||||
"stylelint": "^7.3.1",
|
||||
"stylelint-config-css-modules": "^0.1.0",
|
||||
"stylelint-config-standard": "^13.0.2",
|
||||
"stylelint-declaration-block-order": "^0.1.0",
|
||||
"url-loader": "^0.5.7",
|
||||
"webpack": "^1.13.2",
|
||||
"webpack-dev-server": "^1.15.1",
|
||||
|
Reference in New Issue
Block a user