diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-04-05 03:04:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 09:04:08 +0200 |
commit | cd14f712ad9f5a6ebdbec8c9b87740cd76d949e7 (patch) | |
tree | 13933741b5c8ff8e7e11d77706eb021eb8c5e800 /stylelint.config.js | |
parent | 45848d654709678ba35d9e97e0b3df3e3916cd75 (diff) |
Enable Stylelint property-no-unknown (#24404)
Diffstat (limited to 'stylelint.config.js')
-rw-r--r-- | stylelint.config.js | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/stylelint.config.js b/stylelint.config.js index c8c07a05b..cdb10c02e 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -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-/', + ] }, + ], + }, + }, + ], }; |