7c51ea30a4
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 commit53242a3967Author: Zoë Bijl <code@moiety.me> Date: Tue Oct 14 17:08:47 2025 +0200 [chore] remove font-awesome commit3cc1792b8eAuthor: 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 commite7b495de1fAuthor: Zoë Bijl <code@moiety.me> Date: Tue Oct 14 16:17:59 2025 +0200 [chore] remove font-awesome from common.css commit3913415ca6Author: 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 commitfa9f9a758bAuthor: Zoë Bijl <code@moiety.me> Date: Tue Oct 14 16:07:21 2025 +0200 [chore] remove unused css files from “styles” commit49a7820b99Author: Zoë Bijl <code@moiety.me> Date: Tue Oct 14 15:38:37 2025 +0200 [bugfix] remove unused css commit84025f44c7Author: Zoë Bijl <code@moiety.me> Date: Tue Oct 14 15:38:19 2025 +0200 [bugfix] lint issues
54 lines
1.5 KiB
JavaScript
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-/",
|
|
] },
|
|
],
|
|
},
|
|
},
|
|
],
|
|
};
|