WebUI: migrate stylelint config file format

From https://stylelint.io/user-guide/configure :
>Stylelint currently supports other configuration locations and formats, but we may remove these
>in the future:
>...
>.stylelintrc.json file
This commit is contained in:
Chocobo1 2025-01-21 14:45:17 +08:00
commit e3eacf2bf7
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
2 changed files with 19 additions and 19 deletions

View file

@ -1,19 +0,0 @@
{
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-order"
],
"ignoreFiles": ["private/css/lib/*.css"],
"rules": {
"color-hex-length": null,
"comment-empty-line-before": null,
"comment-whitespace-inside": null,
"function-name-case": null,
"length-zero-no-unit": null,
"no-descending-specificity": null,
"order/properties-alphabetical-order": true,
"selector-class-pattern": null,
"selector-id-pattern": null,
"value-keyword-case": null
}
}

View file

@ -0,0 +1,19 @@
export default {
extends: "stylelint-config-standard",
plugins: [
"stylelint-order"
],
ignoreFiles: ["private/css/lib/*.css"],
rules: {
"color-hex-length": null,
"comment-empty-line-before": null,
"comment-whitespace-inside": null,
"function-name-case": null,
"length-zero-no-unit": null,
"no-descending-specificity": null,
"order/properties-alphabetical-order": true,
"selector-class-pattern": null,
"selector-id-pattern": null,
"value-keyword-case": null
}
};