mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 08:09:15 +01:00
51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
|
{
|
||
|
"extends": "stylelint-config-standard",
|
||
|
"rules": {
|
||
|
"color-named": "never",
|
||
|
"font-family-name-quotes": "always-where-recommended",
|
||
|
"font-weight-notation": "numeric",
|
||
|
"function-url-quotes": "always",
|
||
|
"number-leading-zero": "never",
|
||
|
"value-no-vendor-prefix": true,
|
||
|
"value-list-comma-newline-before": "never-multi-line",
|
||
|
"custom-property-empty-line-before": "never",
|
||
|
"property-no-unknown": [
|
||
|
true,
|
||
|
{
|
||
|
"ignoreProperties": [
|
||
|
"composes",
|
||
|
"all",
|
||
|
"-webkit-appearance"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"declaration-block-semicolon-newline-after": "always",
|
||
|
"block-opening-brace-newline-after": "always",
|
||
|
"selector-attribute-quotes": "always",
|
||
|
"selector-max-specificity": "0,5,2",
|
||
|
"selector-pseudo-class-no-unknown": [
|
||
|
true,
|
||
|
{
|
||
|
"ignorePseudoClasses": ["local", "global"]
|
||
|
}
|
||
|
],
|
||
|
"at-rule-empty-line-before": [
|
||
|
"always",
|
||
|
{
|
||
|
"ignore": [
|
||
|
"after-comment",
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"indentation": [
|
||
|
2,
|
||
|
{
|
||
|
"indentInsideParens": "once-at-root-twice-in-block"
|
||
|
}
|
||
|
],
|
||
|
"max-nesting-depth": 3,
|
||
|
"no-duplicate-selectors": true,
|
||
|
"no-unknown-animations": true
|
||
|
}
|
||
|
}
|