1
0
Fork 0
mirror of https://github.com/GuerillaStudio/compteur-de-greve.git synced 2024-12-18 05:41:56 +00:00

Add style linter

This commit is contained in:
Tixie Salander 2023-03-01 20:47:11 +01:00
parent 34cd5b5b60
commit 2a53339f42
3 changed files with 1569 additions and 31 deletions

11
.stylelintrc.json Normal file
View file

@ -0,0 +1,11 @@
{
"extends": [
"stylelint-config-standard-scss",
"stylelint-config-idiomatic-order"
],
"rules": {
"max-line-length": null,
"selector-class-pattern": null,
"scss/at-import-no-partial-leading-underscore": null
}
}

1580
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -5,12 +5,19 @@
"main": "index.html", "main": "index.html",
"scripts": { "scripts": {
"dev": "eleventy --serve --port=1312", "dev": "eleventy --serve --port=1312",
"build": "eleventy" "build": "eleventy",
"lintcss": "npx stylelint 'src/css/**/*.scss'",
"lintcss-autofix": "npx stylelint 'src/css/**/*.scss' --fix"
}, },
"author": "Guérilla.Studio", "author": "Guérilla.Studio",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@11ty/eleventy": "^2.0.0-beta.3", "@11ty/eleventy": "^2.0.0-beta.3",
"@11tyrocks/eleventy-plugin-sass-lightningcss": "^1.0.0" "@11tyrocks/eleventy-plugin-sass-lightningcss": "^1.0.0"
},
"devDependencies": {
"stylelint": "^15.2.0",
"stylelint-config-idiomatic-order": "^9.0.0",
"stylelint-config-standard-scss": "^7.0.1"
} }
} }