DEV: Update linting setup ()

This commit is contained in:
Jarek Radosz 2025-02-19 19:27:25 +01:00 committed by GitHub
parent c1ee4e120e
commit 9bebbee01b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 518 additions and 398 deletions

@ -1,2 +1,2 @@
--print-width=100
--plugins=plugin/trailing_comma,disable_ternary
--plugins=plugin/trailing_comma,plugin/disable_auto_ternary

@ -6,7 +6,7 @@
"license": "GPL-2.0-only",
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.25.9",
"@discourse/lint-configs": "^2.4.0",
"@discourse/lint-configs": "^2.5.0",
"@discourse/moment-timezone-names-translations": "^1.0.0",
"@fortawesome/fontawesome-free": "6.7.2",
"@glint/core": "1.4.1-unstable.34c4510",
@ -20,9 +20,9 @@
"chrome-launcher": "^1.1.2",
"chrome-remote-interface": "^0.33.2",
"concurrently": "^9.1.2",
"ember-template-lint": "^6.1.0",
"ember-template-lint": "6.1.0",
"esbuild": "^0.25.0",
"eslint": "^9.19.0",
"eslint": "9.20.1",
"jsdoc": "^4.0.4",
"lefthook": "^1.10.10",
"licensee": "^11.1.1",
@ -33,12 +33,10 @@
"moment": "2.30.1",
"moment-timezone": "0.5.45",
"pikaday": "1.8.2",
"prettier": "^2.8.8",
"prettier": "2.8.8",
"puppeteer-core": "^24.2.1",
"squoosh": "https://codeload.github.com/discourse/squoosh/tar.gz/dc9649d",
"stylelint": "^16.14.1",
"stylelint-config-standard": "^37.0.0",
"stylelint-config-standard-scss": "^14.0.0",
"stylelint": "16.14.1",
"terser": "^5.39.0",
"typescript": "5.6.x"
},

861
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

@ -1,42 +1,3 @@
export default {
extends: ["stylelint-config-standard-scss"],
rules: {
"color-no-invalid-hex": true,
"unit-no-unknown": true,
"at-rule-empty-line-before": null,
"rule-empty-line-before": [
"always",
{ except: ["after-single-line-comment", "first-nested"] },
],
"selector-class-pattern": null,
"custom-property-pattern": null,
"declaration-empty-line-before": "never",
"alpha-value-notation": null,
"color-function-notation": null,
"shorthand-property-no-redundant-values": null,
"declaration-block-no-redundant-longhand-properties": null,
"no-descending-specificity": null,
"keyframes-name-pattern": null,
"scss/dollar-variable-pattern": null,
"number-max-precision": null,
"scss/at-extend-no-missing-placeholder": null,
"scss/load-no-partial-leading-underscore": null,
"scss/operator-no-newline-after": null,
"selector-id-pattern": null,
"no-invalid-position-at-import-rule": null,
"scss/at-function-pattern": null,
"scss/comment-no-empty": null,
"scss/at-mixin-pattern": null,
"media-feature-range-notation": "prefix",
"property-no-vendor-prefix": [
true,
{
ignoreProperties: [
"backdrop-filter",
"text-size-adjust",
"user-select",
],
},
],
},
extends: ["@discourse/lint-configs/stylelint"],
};