Create configuration for stylelint
This commit is contained in:
parent
ae74427295
commit
5c4175b01a
5
.stylelintrc.json
Normal file
5
.stylelintrc.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"extends": [
|
||||||
|
"stylelint-config-standard-scss"
|
||||||
|
]
|
||||||
|
}
|
2912
package-lock.json
generated
2912
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -5,7 +5,9 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"server": "hugo-extended server --bind 0.0.0.0",
|
"server": "hugo-extended server --bind 0.0.0.0",
|
||||||
"build": "hugo-extended --minify"
|
"build": "hugo-extended --minify",
|
||||||
|
"stylelint:check": "stylelint \"**/*.scss\"",
|
||||||
|
"stylelint:fix": "stylelint --fix \"**/*.scss\""
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -14,6 +16,9 @@
|
|||||||
"author": "Christian Wolf",
|
"author": "Christian Wolf",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"hugo-extended": "^0.121.2"
|
"hugo-extended": "^0.121.2",
|
||||||
|
"stylelint": "^16.1.0",
|
||||||
|
"stylelint-config-standard": "^36.0.0",
|
||||||
|
"stylelint-config-standard-scss": "^13.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user