summaryrefslogtreecommitdiff
path: root/stylelint.config.mjs
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-08-16 15:22:46 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-08-16 15:22:46 +0200
commitfcbfad33a8e8fdb671d2907b55a8074df9a558e6 (patch)
tree5b869de271a9029303f67d7ee2793d9be72fe20c /stylelint.config.mjs
parent283c876aff2c1a5477955140df783a70ab76dbd8 (diff)
chore(web): add Stylelint CSS checks
Diffstat (limited to 'stylelint.config.mjs')
-rw-r--r--stylelint.config.mjs14
1 files changed, 14 insertions, 0 deletions
diff --git a/stylelint.config.mjs b/stylelint.config.mjs
new file mode 100644
index 0000000..249cac1
--- /dev/null
+++ b/stylelint.config.mjs
@@ -0,0 +1,14 @@
+export default {
+ extends: ["stylelint-config-standard"],
+ rules: {
+ "at-rule-empty-line-before": null,
+ "color-named": "never",
+ "color-no-hex": true,
+ "custom-property-empty-line-before": null,
+ "declaration-block-single-line-max-declarations": null,
+ "function-disallowed-list": ["rgb", "rgba", "hsl", "hsla"],
+ "hue-degree-notation": "angle",
+ "media-feature-range-notation": "context",
+ "no-descending-specificity": null,
+ },
+};