build(npm): add stylelint

This commit is contained in:
Cotes Chung 2022-10-19 20:12:10 +08:00
parent 5de6f17754
commit 294e2985c1
No known key found for this signature in database
GPG key ID: 0D9E54843167A808
3 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View file

@ -7,6 +7,7 @@
!.husky !.husky
!.commitlintrc.json !.commitlintrc.json
!.versionrc.json !.versionrc.json
!.stylelintrc.json
# bundler cache # bundler cache
_site _site

3
.stylelintrc.json Normal file
View file

@ -0,0 +1,3 @@
{
"extends": "stylelint-config-standard-scss"
}

View file

@ -18,6 +18,8 @@
"gulp-insert": "^0.5.0", "gulp-insert": "^0.5.0",
"gulp-rename": "^2.0.0", "gulp-rename": "^2.0.0",
"gulp-uglify": "^3.0.2", "gulp-uglify": "^3.0.2",
"stylelint": "^14.14.0",
"stylelint-config-standard-scss": "^5.0.0",
"uglify-js": "^3.14.3" "uglify-js": "^3.14.3"
} }
} }