1
0
mirror of synced 2026-05-22 21:53:17 +00:00

DEV: Update linting (#73)

This commit is contained in:
Jarek Radosz
2026-03-13 14:26:51 +01:00
committed by GitHub
parent d5c4cf1b1b
commit 6400fd32cb
4 changed files with 555 additions and 392 deletions
+16 -6
View File
@@ -14,6 +14,8 @@ GEM
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
addressable (2.8.9)
public_suffix (>= 2.0.2, < 8.0)
ast (2.4.3)
base64 (0.3.0)
bigdecimal (4.0.1)
@@ -22,26 +24,34 @@ GEM
drb (2.2.3)
i18n (1.14.8)
concurrent-ruby (~> 1.0)
json (2.18.0)
json (2.19.1)
json-schema (6.2.0)
addressable (~> 2.8)
bigdecimal (>= 3.1, < 5)
language_server-protocol (3.17.0.5)
lint_roller (1.1.0)
logger (1.7.0)
minitest (6.0.1)
mcp (0.8.0)
json-schema (>= 4.1)
minitest (6.0.2)
drb (~> 2.0)
prism (~> 1.5)
parallel (1.27.0)
parser (3.3.10.1)
parser (3.3.10.2)
ast (~> 2.4.1)
racc
prettier_print (1.2.1)
prism (1.9.0)
public_suffix (7.0.5)
racc (1.8.1)
rack (3.2.5)
rainbow (3.1.1)
regexp_parser (2.11.3)
rubocop (1.84.0)
rubocop (1.85.1)
json (~> 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
mcp (~> 0.6)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
@@ -49,7 +59,7 @@ GEM
rubocop-ast (>= 1.49.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.49.0)
rubocop-ast (1.49.1)
parser (>= 3.3.7.2)
prism (~> 1.7)
rubocop-capybara (2.22.1)
@@ -102,4 +112,4 @@ DEPENDENCIES
syntax_tree
BUNDLED WITH
4.0.4
4.0.8
@@ -1,3 +1,4 @@
/* eslint-disable ember/no-classic-components, ember/require-tagless-components */
import Component, { Input } from "@ember/component";
import { fn, hash } from "@ember/helper";
import { on } from "@ember/modifier";
@@ -6,8 +7,8 @@ import { service } from "@ember/service";
import { isBlank } from "@ember/utils";
import DButton from "discourse/components/d-button";
import DModal from "discourse/components/d-modal";
import MultiSelect from "discourse/select-kit/components/multi-select";
import { i18n } from "discourse-i18n";
import MultiSelect from "select-kit/components/multi-select";
export default class DiscoursePlaceholderBuilder extends Component {
@service dialog;
+9 -6
View File
@@ -1,14 +1,16 @@
{
"private": true,
"devDependencies": {
"@discourse/lint-configs": "2.37.2",
"@glint/ember-tsc": "1.0.9",
"@discourse/lint-configs": "2.43.0",
"@glint/ember-tsc": "1.1.1",
"concurrently": "^9.2.1",
"discourse": "npm:@discourse/types@2026.1.0-2709d36",
"discourse": "npm:@discourse/types@2026.3.0-887c5be4",
"ember-template-lint": "7.9.3",
"eslint": "9.39.2",
"prettier": "3.8.0",
"stylelint": "17.0.0"
"lint-to-the-future": "^2.6.4",
"lint-to-the-future-eslint": "^3.3.0",
"prettier": "3.8.1",
"stylelint": "17.4.0"
},
"scripts": {
"lint": "concurrently \"pnpm:lint:*(!fix)\" --names \"lint:\"",
@@ -21,7 +23,8 @@
"lint:hbs:fix": "ember-template-lint javascripts/**/*.gjs --fix --no-error-on-unmatched-pattern",
"lint:prettier": "pnpm prettier {javascripts,desktop,mobile,common,scss}/**/*.scss {javascripts,test}/**/*.{js,gjs} --check --no-error-on-unmatched-pattern",
"lint:prettier:fix": "pnpm prettier {javascripts,desktop,mobile,common,scss}/**/*.scss {javascripts,test}/**/*.{js,gjs} -w --no-error-on-unmatched-pattern",
"lint:types": "ember-tsc -b"
"lint:types": "ember-tsc -b",
"lttf:ignore": "lint-to-the-future ignore"
},
"engines": {
"node": ">= 22",
+528 -379
View File
File diff suppressed because it is too large Load Diff