A platform for community discussion. Free, open, simple.
DEV: Update linting (#38509)
Jarek Radosz565fa1cadace
diff --git a/frontend/discourse/app/form-kit/components/fk/field-data.gjs b/frontend/discourse/app/form-kit/components/fk/field-data.gjsindex 288c8d1fe0e..e1e3123b22d 100644--- a/frontend/discourse/app/form-kit/components/fk/field-data.gjs+++ b/frontend/discourse/app/form-kit/components/fk/field-data.gjs@@ -9,6 +9,8 @@ import uniqueId from "discourse/helpers/unique-id";* Represents a field in a form with validation, registration, and field data management capabilities.*/export default class FKFieldData extends Component {+ // Set by `FKBaseControl` and its subclasses+ // eslint-disable-next-line discourse/no-unnecessary-tracked@tracked type;/**diff --git a/package.json b/package.jsonindex 7114f5b4e5c..ae595cc23b3 100644--- a/package.json+++ b/package.json@@ -5,7 +5,7 @@"license": "GPL-2.0-only","devDependencies": {"@babel/plugin-proposal-decorators": "^7.29.0",- "@discourse/lint-configs": "^2.41.0",+ "@discourse/lint-configs": "^2.43.0","@discourse/moment-timezone-names-translations": "^1.0.0","@fortawesome/fontawesome-free": "7.1.0","@glint/ember-tsc": "^1.1.1",@@ -27,7 +27,7 @@"playwright": "1.58.2","prettier": "3.8.1","puppeteer-core": "^24.37.5",- "stylelint": "17.1.0",+ "stylelint": "17.4.0","terser": "^5.46.0","typescript": "^5.9.3"},diff --git a/plugins/discourse-rewind/assets/stylesheets/common/post-used-reactions.scss b/plugins/discourse-rewind/assets/stylesheets/common/post-used-reactions.scssindex fe8f78e6371..4ea5f907994 100644--- a/plugins/discourse-rewind/assets/stylesheets/common/post-used-reactions.scss+++ b/plugins/discourse-rewind/assets/stylesheets/common/post-used-reactions.scss@@ -70,7 +70,7 @@.percentage {font-weight: normal;- font-display: var(--pixel-text);+ font-family: var(--pixel-text);font-size: 16px;color: var(--rewind-white);padding-top: 0.35em;diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex de641eeafc7..02341209867 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -35,8 +35,8 @@ importers:specifier: ^7.29.0version: 7.29.0(@babel/[email protected])'@discourse/lint-configs':- specifier: ^2.41.0- version: 2.41.0([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]([email protected]))+ specifier: ^2.43.0+ version: 2.43.0([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]([email protected]))'@discourse/moment-timezone-names-translations':specifier: ^1.0.0version: 1.0.0@@ -101,8 +101,8 @@ importers:specifier: ^24.37.5version: 24.38.0stylelint:- specifier: 17.1.0- version: 17.1.0([email protected])+ specifier: 17.4.0+ version: 17.4.0([email protected])terser:specifier: ^5.46.0version: 5.46.0@@ -1676,6 +1676,13 @@ packages:'@csstools/css-parser-algorithms': ^3.0.4'@csstools/css-tokenizer': ^3.0.3+ '@csstools/[email protected]':+ resolution: {integrity: sha512-HJ26Z/vmsZQqs/o3a6bgKslXGFAungXGbinULZO3eMsOyNJHeBBZfup5FiZInOghgoM4Hwnmw+OgbJCNg1wwUQ==}+ engines: {node: '>=20.19.0'}+ peerDependencies:+ '@csstools/css-parser-algorithms': ^4.0.0+ '@csstools/css-tokenizer': ^4.0.0+'@csstools/[email protected]':resolution: {integrity: sha512-pdwotQjCCnRPuNi06jFuP68cykU1f3ZWExLe/8MQ1LOs8Xq+fTkYgd+2V8mWUWMrOn9iS2HftPVaMZDaXzGbhQ==}engines: {node: '>=18'}@@ -1695,9 +1702,8 @@ packages:peerDependencies:'@csstools/css-tokenizer': ^4.0.0- '@csstools/[email protected]':- resolution: {integrity: sha512-g0Kw9W3vjx5BEBAF8c5Fm2NcB/Fs8jJXh85aXqwEXiL+tqtOut07TWgyaGzAAfTM+gKckrrncyeGEZPcaRgm2Q==}- engines: {node: '>=18'}+ '@csstools/[email protected]':+ resolution: {integrity: sha512-H4tuz2nhWgNKLt1inYpoVCfbJbMwX/lQKp3g69rrrIMIYlFD9+zTykOKhNR8uGrAmbS/kT9n6hTFkmDkxLgeTA==}'@csstools/[email protected]':resolution: {integrity: sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw==}@@ -1750,13 +1756,13 @@ packages:'@discourse/[email protected]':resolution: {integrity: sha512-Jn1gdiyHMGUsmUfLFf4Q7VnTAv0l7NePbegU6pKhKHEmbzV3FosGxq30fTOYgVyTS1bxqGjlA6LvQttJpv3ROw==}- '@discourse/[email protected]':- resolution: {integrity: sha512-jqc1NaASyQY0zxICx8tXe92Wt1kGD0PcDml+CdOhQHhCKAc4JODa4NuWGmhP1kHYhsTuNknfC1BqzRX9mK1rOg==}+ '@discourse/[email protected]':+ resolution: {integrity: sha512-f3CVhJAcFp90iwVUj6FYgY0Fi9PCGbtz56MUDbxjq+glgv4EEXn/6kzNVSMxlPzn+hyPIdoUjPbT1djR9SX5Sg==}peerDependencies:ember-template-lint: 7.9.3eslint: 9.39.2prettier: 3.8.1- stylelint: 17.1.0+ stylelint: 17.4.0'@discourse/[email protected]':resolution: {integrity: sha512-4xr1QWQ0nzmFa2ZXQgWZA+dtE/BU2ePA+qkJWPFzNpq4ZnQi8MmMMAS2285t3rc2ySMBQqYaAArmcSUiufUgRA==}@@ -3736,10 +3742,6 @@ packages:resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}- resolution: {integrity: sha512-vjtV3hiLqYDNRoiAv0zC4QaGAMPomEoq83PRmYIofPswwZurCeWR5LByXm7SyoL0Zh5+2z0+HC7jG8gSZJUh0w==}- engines: {node: '>= 16'}-resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==}engines: {node: 18 || 20 || >=22}@@ -4583,9 +4585,9 @@ packages:resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}engines: {node: '>= 8'}- resolution: {integrity: sha512-IQOkD3hbR5KrN93MtcYuad6YPuTSUhntLHDuLEbFWE+ff2/XSZNdZG+LcbbIW5AXKg/WFIfYItIzVoHngHXZzA==}- engines: {node: '>=12 || >=16'}+ resolution: {integrity: sha512-8HFEBPKhOpJPEPu70wJJetjKta86Gw9+CCyCnB3sui2qQfOvRyqBy4IKLKKAwdMpWb2lHXWk9Wb4Z6AmaUT1Pg==}+ engines: {node: '>=12'}resolution: {integrity: sha512-Q7mOvpBNBG7YrVGMxRxcBJZFL75o+cH2abNASdibkj/fffYD8qWbInZrD0S9ccI6vZclF3DsHE7njGlLtaHbhg==}@@ -5195,9 +5197,11 @@ packages:'@typescript-eslint/parser':optional: true- resolution: {integrity: sha512-qr7RJCYImKQjB+39q4q46i1l7p1V3joHzBE5CAYfxn5tfVFjrnjn/tw7q/kDyweU9kAIcLul0Dx/KWVUCb3BgA==}+ resolution: {integrity: sha512-S1jC/DIW9J8VtNX4uG1vlf5FZVrfQFlcuiYmvTHR2IICUhubHqpWA5o+qS1tujh+81Gs39omKV2D4OXfbSJE5g==}engines: {node: ^16.0.0 || ^18.0.0 || >=20.0.0}+ peerDependencies:+ eslint: '>=8.38.0'resolution: {integrity: sha512-6nuzu4xwQtE3332Uz0to+TxDQYRLTKRESSc2hefVT48Zc8JthmN23Gx9lnYhu0FtkRSL1oxny3kJ2aveVhmOVA==}@@ -5744,8 +5748,8 @@ packages:resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==}engines: {node: 6.* || 8.* || >= 10.*}- resolution: {integrity: sha512-QZjmEOC+IT1uk6Rx0sX22V6uHWVwbdbxf1faPqJ1QhLdGgsRGCZoyaQBm/piRdJy/D2um6hM1UP7ZEeQ4EkP+Q==}+ resolution: {integrity: sha512-CQ+bEO+Tva/qlmw24dCejulK5pMzVnUOFOijVogd3KQs07HnRIgp8TGipvCCRT06xeYEbpbgwaCxglFyiuIcmA==}engines: {node: '>=18'}@@ -5867,8 +5871,8 @@ packages:resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}engines: {node: '>=18'}- resolution: {integrity: sha512-yMqGUQVVCkD4tqjOJf3TnrvaaHDMYp4VlUSObbkIiuCPe/ofdMBFIAcBbCSRFWOnos6qRiTVStDwqPLUclaxIw==}+ resolution: {integrity: sha512-hjrNztw/VajQwOLsMNT1cbJiH2muO3OROCHnbehc8eY5JyD2gqz4AcMHPqgaOR59DjgUjYAYLeH699g/eWi2jw==}engines: {node: '>=18'}@@ -8670,8 +8674,8 @@ packages:resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==}engines: {node: '>=12'}- resolution: {integrity: sha512-Kxl3KJGb/gxkaUMOjRsQ8IrXiGW75O4E3RPjFIINOVH8AMl2SQ/yWdTzWwF3FevIX9LcMAjJW+GRwAlAbTSXdg==}+ resolution: {integrity: sha512-6hJPQ8N0V0P3SNmP6h2J99RLuzrWz2gvT7VnK5tKvrNqJoyS9W4/Fb8mo31UiPvy00z7DQXkP2hnKBVav76thw==}engines: {node: '>=20'}@@ -8803,8 +8807,8 @@ packages:peerDependencies:stylelint: ^16.8.2 || ^17.0.0- resolution: {integrity: sha512-+cUX1FxkkbLX5qJRAPapUv/+v+YU3pGbWu+pHVqTXpiY0mYh3Dxfxa0bLBtVtYgOC8hIWIyX2H/3Y3LWlAevDg==}+ resolution: {integrity: sha512-3kQ2/cHv3Zt8OBg+h2B8XCx9evEABQIrv4hh3uXahGz/ZEHrTR80zxBiK2NfXNaSoyBzxO1pjsz1Vhdzwn5XSw==}engines: {node: '>=20.19.0'}hasBin: true@@ -10496,6 +10500,11 @@ snapshots:'@csstools/css-parser-algorithms': 3.0.5(@csstools/[email protected])'@csstools/css-tokenizer': 3.0.4+ '@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':+ dependencies:+ '@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])+ '@csstools/css-tokenizer': 4.0.0+'@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':dependencies:'@csstools/color-helpers': 5.0.2@@ -10511,7 +10520,7 @@ snapshots:dependencies:'@csstools/css-tokenizer': 4.0.0- '@csstools/[email protected]': {}+ '@csstools/[email protected]': {}'@csstools/[email protected]': {}@@ -10555,7 +10564,7 @@ snapshots:'@discourse/[email protected]': {}- '@discourse/[email protected]([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]([email protected]))':+ '@discourse/[email protected]([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]([email protected]))':dependencies:'@babel/core': 7.29.0([email protected])@@ -10567,16 +10576,16 @@ snapshots:eslint-plugin-decorator-position: 6.0.0(@babel/[email protected](@babel/[email protected])([email protected]([email protected])))([email protected]([email protected]))eslint-plugin-ember: 12.7.5(@babel/[email protected])([email protected]([email protected]))([email protected])eslint-plugin-import: 2.32.0([email protected]([email protected]))- eslint-plugin-qunit: 8.2.5([email protected]([email protected]))+ eslint-plugin-qunit: 8.2.6([email protected]([email protected]))eslint-plugin-simple-import-sort: 12.1.1([email protected]([email protected]))eslint-plugin-sort-class-members: 1.21.0([email protected]([email protected]))- globals: 17.3.0+ globals: 17.4.0prettier: 3.8.1prettier-plugin-ember-template-tag: 2.1.3([email protected])- stylelint: 17.1.0([email protected])- stylelint-config-standard: 40.0.0([email protected]([email protected]))- stylelint-scss: 7.0.0([email protected]([email protected]))+ stylelint: 17.4.0([email protected])+ stylelint-config-standard: 40.0.0([email protected]([email protected]))+ stylelint-scss: 7.0.0([email protected]([email protected]))typescript: 5.9.3transitivePeerDependencies:- '@typescript-eslint/parser'@@ -12833,8 +12842,6 @@ snapshots:- [email protected]: {}-@@ -13839,7 +13846,7 @@ snapshots:shebang-command: 2.0.0which: 2.0.2- [email protected]: {}+ [email protected]: {}dependencies:@@ -14973,12 +14980,11 @@ snapshots:- eslint-import-resolver-webpack- supports-colordependencies:- eslint-utils: 3.0.0([email protected]([email protected]))+ '@eslint-community/eslint-utils': 4.9.0([email protected]([email protected]))+ eslint: 9.39.2([email protected])requireindex: 1.2.0- transitivePeerDependencies:- - eslintdependencies:@@ -15743,7 +15749,7 @@ snapshots:- [email protected]: {}+ [email protected]: {}dependencies:@@ -15901,7 +15907,7 @@ snapshots:- [email protected]: {}+ [email protected]: {}dependencies:@@ -18952,9 +18958,9 @@ snapshots:emoji-regex: 9.2.2strip-ansi: 7.2.0dependencies:- get-east-asian-width: 1.4.0+ get-east-asian-width: 1.5.0strip-ansi: 7.2.0@@ -19054,33 +19060,33 @@ snapshots:dependencies:postcss-scss: 4.0.9([email protected])- stylelint: 17.1.0([email protected])- stylelint-config-recommended: 18.0.0([email protected]([email protected]))- stylelint-scss: 7.0.0([email protected]([email protected]))+ stylelint: 17.4.0([email protected])+ stylelint-config-recommended: 18.0.0([email protected]([email protected]))+ stylelint-scss: 7.0.0([email protected]([email protected]))optionalDependencies:postcss: 8.5.8dependencies:- stylelint: 17.1.0([email protected])+ stylelint: 17.4.0([email protected])dependencies:- stylelint: 17.1.0([email protected])- stylelint-config-recommended-scss: 17.0.0([email protected])([email protected]([email protected]))- stylelint-config-standard: 40.0.0([email protected]([email protected]))+ stylelint: 17.4.0([email protected])+ stylelint-config-recommended-scss: 17.0.0([email protected])([email protected]([email protected]))+ stylelint-config-standard: 40.0.0([email protected]([email protected]))optionalDependencies:postcss: 8.5.8dependencies:- stylelint: 17.1.0([email protected])- stylelint-config-recommended: 18.0.0([email protected]([email protected]))+ stylelint: 17.4.0([email protected])+ stylelint-config-recommended: 18.0.0([email protected]([email protected]))dependencies:css-tree: 3.1.0is-plain-object: 5.0.0@@ -19090,20 +19096,20 @@ snapshots:postcss-resolve-nested-selector: 0.1.6postcss-selector-parser: 7.1.1postcss-value-parser: 4.2.0- stylelint: 17.1.0([email protected])+ stylelint: 17.4.0([email protected])dependencies:+ '@csstools/css-calc': 3.1.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])- '@csstools/css-syntax-patches-for-csstree': 1.0.25+ '@csstools/css-syntax-patches-for-csstree': 1.1.0'@csstools/css-tokenizer': 4.0.0'@csstools/media-query-list-parser': 5.0.0(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])'@csstools/selector-resolve-nested': 4.0.0([email protected])'@csstools/selector-specificity': 6.0.0([email protected])- balanced-match: 3.0.1colord: 2.9.3cosmiconfig: 9.0.0([email protected])- css-functions-list: 3.2.3+ css-functions-list: 3.3.3css-tree: 3.1.0debug: 4.4.3([email protected])fast-glob: 3.3.3@@ -19117,7 +19123,6 @@ snapshots:import-meta-resolve: 4.2.0imurmurhash: 0.1.4is-plain-object: 5.0.0- known-css-properties: 0.37.0mathml-tag-names: 4.0.0meow: 14.0.0micromatch: 4.0.8@@ -19127,7 +19132,7 @@ snapshots:postcss-safe-parser: 7.0.1([email protected])postcss-selector-parser: 7.1.1postcss-value-parser: 4.2.0- string-width: 8.1.0+ string-width: 8.2.0supports-hyperlinks: 4.4.0svg-tags: 1.0.0table: 6.9.0