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