~cytrogen/masto-fe

ref: 95b389e89d984644f986bf984f9bc38080f6fb32 masto-fe/stylelint.config.js -rw-r--r-- 1.3 KiB
95b389e8 — Cytrogen Convert mastodon flavour SCSS to CSS custom properties (Phase 7) 13 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
module.exports = {
  extends: ["stylelint-config-standard-scss"],
  ignoreFiles: [
    "app/javascript/styles/mastodon/reset.scss",
    "app/javascript/flavours/glitch/styles/reset.scss",
    "app/javascript/styles/win95.scss",
    "coverage/**/*",
    "node_modules/**/*",
    "public/assets/**/*",
    "public/packs/**/*",
    "public/packs-test/**/*",
    "vendor/**/*",
  ],
  reportDescriptionlessDisables: true,
  reportInvalidScopeDisables: true,
  reportNeedlessDisables: true,
  rules: {
    "at-rule-empty-line-before": null,
    "color-function-notation": null,
    "color-hex-length": null,
    "declaration-block-no-redundant-longhand-properties": null,
    "no-descending-specificity": null,
    "no-duplicate-selectors": null,
    "number-max-precision": 8,
    "property-no-vendor-prefix": null,
    "selector-class-pattern": null,
    "selector-id-pattern": null,
    "value-keyword-case": null,
    "value-no-vendor-prefix": null,

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