mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 04:55:08 +01:00
Enable Stylelint property-no-unknown (#24404)
This commit is contained in:
parent
45848d6547
commit
cd14f712ad
@ -2941,7 +2941,6 @@ $ui-header-height: 55px;
|
|||||||
width: 85%;
|
width: 85%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
user-drag: none;
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,7 +13,6 @@ module.exports = {
|
|||||||
'no-descending-specificity': null,
|
'no-descending-specificity': null,
|
||||||
'no-duplicate-selectors': null,
|
'no-duplicate-selectors': null,
|
||||||
'number-max-precision': 8,
|
'number-max-precision': 8,
|
||||||
'property-no-unknown': null,
|
|
||||||
'property-no-vendor-prefix': null,
|
'property-no-vendor-prefix': null,
|
||||||
'selector-class-pattern': null,
|
'selector-class-pattern': null,
|
||||||
'selector-id-pattern': null,
|
'selector-id-pattern': null,
|
||||||
@ -23,4 +22,18 @@ module.exports = {
|
|||||||
'scss/dollar-variable-empty-line-before': null,
|
'scss/dollar-variable-empty-line-before': null,
|
||||||
'scss/no-global-function-names': null,
|
'scss/no-global-function-names': null,
|
||||||
},
|
},
|
||||||
|
overrides: [
|
||||||
|
{
|
||||||
|
'files': ['app/javascript/styles/mailer.scss'],
|
||||||
|
rules: {
|
||||||
|
'property-no-unknown': [
|
||||||
|
true,
|
||||||
|
{
|
||||||
|
ignoreProperties: [
|
||||||
|
'/^mso-/',
|
||||||
|
] },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user