mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
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:
parent
5098519d46
commit
e3eacf2bf7
2 changed files with 19 additions and 19 deletions
|
@ -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
|
||||
}
|
||||
}
|
19
src/webui/www/stylelint.config.mjs
Normal file
19
src/webui/www/stylelint.config.mjs
Normal 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
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue