Files
Masto/stylelint.config.js
Zoë Bijl 7c51ea30a4 [chore] remove old font formats and unused css (#99)
Removes a bunch of unused files:

- Removed old font formats such as .otf, .woff, and .ttf; WOFF2 has baseline support
- Removed mailer.js/.scss (no mailer functionality in masto-fe)
- Removed vanilla reset
- Removed vanilla/Win95 theme
- Removed all vanilla styles (contrast, mastodon, mastodon-light)
- Removed FontAwesome (from package.json and common.js)
- Fixed some lint issues

commit 53242a3967
Author: Zoë Bijl <code@moiety.me>
Date:   Tue Oct 14 17:08:47 2025 +0200

    [chore] remove font-awesome

commit 3cc1792b8e
Author: Zoë Bijl <code@moiety.me>
Date:   Tue Oct 14 16:32:28 2025 +0200

    [chore] remove old font formats

    WOFF2 has baseline support: https://caniuse.com/woff2

commit e7b495de1f
Author: Zoë Bijl <code@moiety.me>
Date:   Tue Oct 14 16:17:59 2025 +0200

    [chore] remove font-awesome from common.css

commit 3913415ca6
Author: Zoë Bijl <code@moiety.me>
Date:   Tue Oct 14 16:17:32 2025 +0200

    [chore] remove mailer.js/.scss

    there’s no mailer functionality in masto-fe

commit fa9f9a758b
Author: Zoë Bijl <code@moiety.me>
Date:   Tue Oct 14 16:07:21 2025 +0200

    [chore] remove unused css files from “styles”

commit 49a7820b99
Author: Zoë Bijl <code@moiety.me>
Date:   Tue Oct 14 15:38:37 2025 +0200

    [bugfix] remove unused css

commit 84025f44c7
Author: Zoë Bijl <code@moiety.me>
Date:   Tue Oct 14 15:38:19 2025 +0200

    [bugfix] lint issues
2025-10-14 17:22:01 +02:00

54 lines
1.5 KiB
JavaScript

module.exports = {
extends: ["stylelint-config-standard-scss"],
ignoreFiles: [
"coverage/**/*",
"node_modules/**/*",
"public/assets/**/*",
"public/packs/**/*",
"public/packs-test/**/*",
"vendor/**/*",
],
reportDescriptionlessDisables: true,
reportInvalidScopeDisables: true,
reportNeedlessDisables: true,
rules: {
"alpha-value-notation": "number",
"at-rule-empty-line-before": null,
"color-function-notation": null,
"color-hex-length": null,
"custom-property-empty-line-before": ["always", {
"except": [
"after-custom-property",
"first-nested",
"after-comment",
],
}],
"custom-property-pattern": "(([a-z]+)(-[a-z]+)*([-]{2}[a-z]+(-[a-z]+)?)?)", // allows kebab-case and kebab-case--state
"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-/",
] },
],
},
},
],
};