mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-09 16:02:10 +00:00
Fix stylelint
This commit is contained in:
parent
e29aa8c9ca
commit
4214a351ba
3 changed files with 9 additions and 4 deletions
|
@ -1,6 +1,9 @@
|
|||
{
|
||||
"extends": "stylelint-config-standard",
|
||||
"extends": "stylelint-config-recommended",
|
||||
"rules": {
|
||||
"indentation": "tab"
|
||||
"font-family-no-duplicate-names": [ true, { "ignoreFontFamilyNames": ["monospace"] } ],
|
||||
"indentation": "tab",
|
||||
"max-nesting-depth": 1,
|
||||
"selector-max-compound-selectors": 3
|
||||
}
|
||||
}
|
||||
|
|
2
Makefile
2
Makefile
|
@ -36,7 +36,7 @@ clean:
|
|||
|
||||
.PHONY: lint-css
|
||||
lint-css:
|
||||
stylelint --di --rd --rdd $(CSS_DIR)/main.css $(CSS_DIR)/dark.css
|
||||
pnpx stylelint --di --rd --rdd $(CSS_DIR)/main.css $(CSS_DIR)/dark.css
|
||||
csslint --quiet $(CSS_DIR)
|
||||
|
||||
.PHONY: hint
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
"@hint/hint-https-only": "^2.4.10",
|
||||
"@hint/hint-performance-budget": "^2.4.10",
|
||||
"@lhci/cli": "^0.8.0",
|
||||
"hint": "^6.1.4"
|
||||
"hint": "^6.1.4",
|
||||
"stylelint": "^14.6.1",
|
||||
"stylelint-config-standard": "^25.0.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue