Add stylelint for scss-linting, fix scss-files by scss-linting standards
Showing
.stylelintrc
0 → 100644
This diff is collapsed.
Click to expand it.
| ... | ... | @@ -6,6 +6,7 @@ |
| "scripts": { | ||
| "dev": "webpack-dev-server --open --host 91.232.225.11 --port 17001 --mode development", | ||
| "lint": "npx eslint src/js/*.js", | ||
| "stylelint": "stylelint 'src/**/*.scss'", | ||
| "build": "webpack --mode production" | ||
| }, | ||
| "browserslist": [ | ||
| ... | ... | @@ -31,8 +32,13 @@ |
| "postcss-loader": "^3.0.0", | ||
| "sass-loader": "^8.0.2", | ||
| "style-loader": "^1.1.3", | ||
| "stylelint": "^13.2.0", | ||
| "stylelint-webpack-plugin": "^1.2.3", | ||
| "webpack": "^4.41.5", | ||
| "webpack-cli": "^3.3.10", | ||
| "webpack-dev-server": "^3.10.2" | ||
| }, | ||
| "dependencies": { | ||
| "stylelint-config-sass-guidelines": "^7.0.0" | ||
| } | ||
| } |
Please
register
or
sign in
to comment