1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 14:37:49 +00:00
Files
matomo/.stylelintrc.json
Stefan Giehl d13d4c4db7 [CSS Stylelint] activates some more rules (#21030)
* Expect leading & trailing whitespace in comments for better readability

* disallow unknown units

* disallow unmatchable selectors
2023-07-18 17:41:53 +02:00

27 خطوط
954 B
JSON

{
"overrides": [
{
"files": ["**/*.less"],
"customSyntax": "postcss-less"
}
],
"ignoreFiles": ["node_modules/**/*", "vendor/**/*", "tests/**/*", "tmp/**/*", "misc/**/*", "plugins/*/vue/dist/*", "plugins/*/tests/**/*", "plugins/Morpheus/stylesheets/base/bootstrap.css"],
"rules": {
"color-no-invalid-hex": true,
"no-irregular-whitespace": true,
"length-zero-no-unit": true,
"block-no-empty": true,
"comment-no-empty": true,
"no-empty-source": true,
"declaration-block-no-duplicate-properties": [
true,
{ "ignore": ["consecutive-duplicates"] }
],
"font-family-no-duplicate-names": true,
"no-duplicate-at-import-rules": true,
"no-duplicate-selectors": true,
"comment-whitespace-inside": "always",
"unit-no-unknown": true,
"selector-anb-no-unmatchable": true
}
}