Install stylelint
This commit is contained in:
parent
12b069d197
commit
497b5cced7
1439
template/package-lock.json
generated
1439
template/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -6,6 +6,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"sass": "sass -t compact scss/main.scss:src/css/main.css",
|
"sass": "sass -t compact scss/main.scss:src/css/main.css",
|
||||||
"sass:watch": "sass --watch scss/main.scss:src/css/main.css",
|
"sass:watch": "sass --watch scss/main.scss:src/css/main.css",
|
||||||
|
"stylelint": "stylelint \"**/*.scss\"",
|
||||||
|
"stylelint:fix": "stylelint \"**/*.scss\" --fix",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"author": "Christian Wolf",
|
"author": "Christian Wolf",
|
||||||
@ -19,6 +21,9 @@
|
|||||||
"homepage": "https://christian-wolf.click/christians-reifenscheune",
|
"homepage": "https://christian-wolf.click/christians-reifenscheune",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"sass": "^1.85.1"
|
"sass": "^1.85.1",
|
||||||
|
"stylelint": "^16.14.1",
|
||||||
|
"stylelint-config-standard-scss": "^14.0.0",
|
||||||
|
"stylelint-order": "^6.0.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
5
template/stylelint.config.mjs
Normal file
5
template/stylelint.config.mjs
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
/** @type {import('stylelint').Config} */
|
||||||
|
export default {
|
||||||
|
extends: ["stylelint-config-standard-scss"],
|
||||||
|
plugins: ["stylelint-order"],
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user