diff --git a/src/webui/www/.stylelintrc.json b/src/webui/www/.stylelintrc.json deleted file mode 100644 index 55324a0dd..000000000 --- a/src/webui/www/.stylelintrc.json +++ /dev/null @@ -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 - } -} diff --git a/src/webui/www/stylelint.config.mjs b/src/webui/www/stylelint.config.mjs new file mode 100644 index 000000000..712f9f844 --- /dev/null +++ b/src/webui/www/stylelint.config.mjs @@ -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 + } +};