Add Stylelint configuration.

This commit is contained in:
Bauke 2022-10-06 23:41:17 +02:00
parent aba5685898
commit 51ef13f5d6
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 25 additions and 0 deletions

4
.gitignore vendored
View File

@ -7,3 +7,7 @@ coverage/
# Environment configuration
.env
# NodeJS files
node_modules/
pnpm-lock.yaml

21
package.json Normal file
View File

@ -0,0 +1,21 @@
{
"private": "true",
"scripts": {
"test": "stylelint 'source/**/*.scss'"
},
"dependencies": {
"modern-normalize": "^1.1.0"
},
"devDependencies": {
"stylelint": "^14.12.1",
"stylelint-config-standard-scss": "^5.0.0"
},
"stylelint": {
"extends": [
"stylelint-config-standard-scss"
],
"rules": {
"string-quotes": "single"
}
}
}