diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-16 15:22:46 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-16 15:22:46 +0200 |
| commit | fcbfad33a8e8fdb671d2907b55a8074df9a558e6 (patch) | |
| tree | 5b869de271a9029303f67d7ee2793d9be72fe20c /stylelint.config.mjs | |
| parent | 283c876aff2c1a5477955140df783a70ab76dbd8 (diff) | |
chore(web): add Stylelint CSS checks
Diffstat (limited to 'stylelint.config.mjs')
| -rw-r--r-- | stylelint.config.mjs | 14 |
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, + }, +}; |