Enable Stylelint property-no-unknown (#24404)

This commit is contained in:
Nick Schonning 2023-04-05 03:04:08 -04:00 committed by GitHub
parent 45848d6547
commit cd14f712ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 2 deletions

View file

@ -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;
} }

View file

@ -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-/',
] },
],
},
},
],
}; };