Install Stylelint for CSS styling
This commit is contained in:
parent
84361f06c0
commit
d0fe145af0
4
.stylelintrc.json
Normal file
4
.stylelintrc.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"extends": "stylelint-config-standard-scss"
|
||||||
|
}
|
||||||
|
|
1443
package-lock.json
generated
1443
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -5,6 +5,8 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
"stylelint": "stylelint assets/css/*.scss assets/css/parts/*.scss",
|
||||||
|
"stylelint-fix": "stylelint --fix assets/css/*.scss assets/css/parts/*.scss",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
@ -18,6 +20,9 @@
|
|||||||
"nanogallery2": "^3.0.5"
|
"nanogallery2": "^3.0.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"stylelint": "^16.10.0",
|
||||||
|
"stylelint-config-standard": "^36.0.1",
|
||||||
|
"stylelint-config-standard-scss": "^13.1.0",
|
||||||
"vite": "^5.4.10"
|
"vite": "^5.4.10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user