mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-06 23:44:20 -04:00
Enable a few stylelint rules (#30038)
No violations but still good to have them.
This commit is contained in:
parent
e4a481e0ca
commit
9c6e6f4d1b
@ -30,7 +30,7 @@ rules:
|
|||||||
"@stylistic/block-opening-brace-newline-after": null
|
"@stylistic/block-opening-brace-newline-after": null
|
||||||
"@stylistic/block-opening-brace-newline-before": null
|
"@stylistic/block-opening-brace-newline-before": null
|
||||||
"@stylistic/block-opening-brace-space-after": null
|
"@stylistic/block-opening-brace-space-after": null
|
||||||
"@stylistic/block-opening-brace-space-before": null
|
"@stylistic/block-opening-brace-space-before": always
|
||||||
"@stylistic/color-hex-case": lower
|
"@stylistic/color-hex-case": lower
|
||||||
"@stylistic/declaration-bang-space-after": never
|
"@stylistic/declaration-bang-space-after": never
|
||||||
"@stylistic/declaration-bang-space-before": null
|
"@stylistic/declaration-bang-space-before": null
|
||||||
@ -140,7 +140,7 @@ rules:
|
|||||||
function-disallowed-list: null
|
function-disallowed-list: null
|
||||||
function-linear-gradient-no-nonstandard-direction: true
|
function-linear-gradient-no-nonstandard-direction: true
|
||||||
function-name-case: lower
|
function-name-case: lower
|
||||||
function-no-unknown: null
|
function-no-unknown: true
|
||||||
function-url-no-scheme-relative: null
|
function-url-no-scheme-relative: null
|
||||||
function-url-quotes: always
|
function-url-quotes: always
|
||||||
function-url-scheme-allowed-list: null
|
function-url-scheme-allowed-list: null
|
||||||
@ -168,7 +168,7 @@ rules:
|
|||||||
no-duplicate-selectors: true
|
no-duplicate-selectors: true
|
||||||
no-empty-source: true
|
no-empty-source: true
|
||||||
no-invalid-double-slash-comments: true
|
no-invalid-double-slash-comments: true
|
||||||
no-invalid-position-at-import-rule: null
|
no-invalid-position-at-import-rule: [true, ignoreAtRules: [tailwind]]
|
||||||
no-irregular-whitespace: true
|
no-irregular-whitespace: true
|
||||||
no-unknown-animations: null
|
no-unknown-animations: null
|
||||||
no-unknown-custom-properties: null
|
no-unknown-custom-properties: null
|
||||||
@ -181,6 +181,7 @@ rules:
|
|||||||
rule-empty-line-before: null
|
rule-empty-line-before: null
|
||||||
rule-selector-property-disallowed-list: null
|
rule-selector-property-disallowed-list: null
|
||||||
scale-unlimited/declaration-strict-value: [[/color$/, font-weight], {ignoreValues: /^(inherit|transparent|unset|initial|currentcolor|none)$/, ignoreFunctions: false, disableFix: true, expandShorthand: true}]
|
scale-unlimited/declaration-strict-value: [[/color$/, font-weight], {ignoreValues: /^(inherit|transparent|unset|initial|currentcolor|none)$/, ignoreFunctions: false, disableFix: true, expandShorthand: true}]
|
||||||
|
selector-anb-no-unmatchable: true
|
||||||
selector-attribute-name-disallowed-list: null
|
selector-attribute-name-disallowed-list: null
|
||||||
selector-attribute-operator-allowed-list: null
|
selector-attribute-operator-allowed-list: null
|
||||||
selector-attribute-operator-disallowed-list: null
|
selector-attribute-operator-disallowed-list: null
|
||||||
|
Loading…
Reference in New Issue
Block a user