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:
parent
34cd5b5b60
commit
2a53339f42
3 changed files with 1569 additions and 31 deletions
11
.stylelintrc.json
Normal file
11
.stylelintrc.json
Normal 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
1580
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue