~cytrogen/masto-fe

cd14f712ad9f5a6ebdbec8c9b87740cd76d949e7 — Nick Schonning 3 years ago 45848d6
Enable Stylelint property-no-unknown (#24404)

2 files changed, 14 insertions(+), 2 deletions(-)

M app/javascript/styles/mastodon/components.scss
M stylelint.config.js
M app/javascript/styles/mastodon/components.scss => app/javascript/styles/mastodon/components.scss +0 -1
@@ 2941,7 2941,6 @@ $ui-header-height: 55px;
    width: 85%;
    height: 100%;
    pointer-events: none;
    user-drag: none;
    user-select: none;
  }


M stylelint.config.js => stylelint.config.js +14 -1
@@ 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-/',
            ] },
        ],
      },
    },
  ],
};