Skip to content

Commit 45736f1

Browse files
authored
DEV: Update linting (#87)
1 parent 02694cf commit 45736f1

File tree

5 files changed

+528
-457
lines changed

5 files changed

+528
-457
lines changed

Gemfile.lock

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (8.0.2)
4+
activesupport (8.0.3)
55
base64
66
benchmark (>= 0.3)
77
bigdecimal
@@ -17,45 +17,45 @@ GEM
1717
ast (2.4.3)
1818
base64 (0.3.0)
1919
benchmark (0.4.1)
20-
bigdecimal (3.2.1)
20+
bigdecimal (3.3.0)
2121
concurrent-ruby (1.3.5)
22-
connection_pool (2.5.3)
22+
connection_pool (2.5.4)
2323
drb (2.2.3)
2424
i18n (1.14.7)
2525
concurrent-ruby (~> 1.0)
26-
json (2.12.2)
26+
json (2.15.1)
2727
language_server-protocol (3.17.0.5)
2828
lint_roller (1.1.0)
2929
logger (1.7.0)
30-
minitest (5.25.5)
30+
minitest (5.26.0)
3131
parallel (1.27.0)
32-
parser (3.3.8.0)
32+
parser (3.3.9.0)
3333
ast (~> 2.4.1)
3434
racc
3535
prettier_print (1.2.1)
36-
prism (1.4.0)
36+
prism (1.5.1)
3737
racc (1.8.1)
38-
rack (3.1.16)
38+
rack (3.2.2)
3939
rainbow (3.1.1)
40-
regexp_parser (2.10.0)
41-
rubocop (1.76.0)
40+
regexp_parser (2.11.3)
41+
rubocop (1.81.1)
4242
json (~> 2.3)
4343
language_server-protocol (~> 3.17.0.2)
4444
lint_roller (~> 1.1.0)
4545
parallel (~> 1.10)
4646
parser (>= 3.3.0.2)
4747
rainbow (>= 2.2.2, < 4.0)
4848
regexp_parser (>= 2.9.3, < 3.0)
49-
rubocop-ast (>= 1.45.0, < 2.0)
49+
rubocop-ast (>= 1.47.1, < 2.0)
5050
ruby-progressbar (~> 1.7)
5151
unicode-display_width (>= 2.4.0, < 4.0)
52-
rubocop-ast (1.45.0)
52+
rubocop-ast (1.47.1)
5353
parser (>= 3.3.7.2)
5454
prism (~> 1.4)
5555
rubocop-capybara (2.22.1)
5656
lint_roller (~> 1.1)
5757
rubocop (~> 1.72, >= 1.72.1)
58-
rubocop-discourse (3.12.1)
58+
rubocop-discourse (3.13.3)
5959
activesupport (>= 6.1)
6060
lint_roller (>= 1.1.0)
6161
rubocop (>= 1.73.2)
@@ -67,13 +67,13 @@ GEM
6767
rubocop-factory_bot (2.27.1)
6868
lint_roller (~> 1.1)
6969
rubocop (~> 1.72, >= 1.72.1)
70-
rubocop-rails (2.32.0)
70+
rubocop-rails (2.33.4)
7171
activesupport (>= 4.2.0)
7272
lint_roller (~> 1.1)
7373
rack (>= 1.1)
7474
rubocop (>= 1.75.0, < 2.0)
7575
rubocop-ast (>= 1.44.0, < 2.0)
76-
rubocop-rspec (3.6.0)
76+
rubocop-rspec (3.7.0)
7777
lint_roller (~> 1.1)
7878
rubocop (~> 1.72, >= 1.72.1)
7979
rubocop-rspec_rails (2.31.0)
@@ -82,14 +82,14 @@ GEM
8282
rubocop-rspec (~> 3.5)
8383
ruby-progressbar (1.13.0)
8484
securerandom (0.4.1)
85-
syntax_tree (6.2.0)
85+
syntax_tree (6.3.0)
8686
prettier_print (>= 1.2.0)
8787
tzinfo (2.0.6)
8888
concurrent-ruby (~> 1.0)
89-
unicode-display_width (3.1.4)
90-
unicode-emoji (~> 4.0, >= 4.0.4)
91-
unicode-emoji (4.0.4)
92-
uri (1.0.3)
89+
unicode-display_width (3.2.0)
90+
unicode-emoji (~> 4.1)
91+
unicode-emoji (4.1.0)
92+
uri (1.0.4)
9393

9494
PLATFORMS
9595
arm64-darwin-23
@@ -100,4 +100,4 @@ DEPENDENCIES
100100
syntax_tree
101101

102102
BUNDLED WITH
103-
2.6.9
103+
2.7.2

javascripts/discourse/initializers/customize-edit-category-general.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "customize-edit-category-general",
66

77
initialize() {
8-
withPluginApi("0.8.14", (api) => {
8+
withPluginApi((api) => {
99
api.modifyClass("component:edit-category-general", {
1010
pluginId: "discourse-air",
1111

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { apiInitializer } from "discourse/lib/api";
22

3-
export default apiInitializer("0.8", (api) => {
3+
export default apiInitializer((api) => {
44
api.registerValueTransformer("topic-list-item-expand-pinned", () => true);
55
});

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"private": true,
33
"devDependencies": {
4-
"@discourse/lint-configs": "2.25.0",
5-
"ember-template-lint": "7.8.1",
6-
"eslint": "9.28.0",
7-
"prettier": "3.5.3",
8-
"stylelint": "16.20.0"
4+
"@discourse/lint-configs": "2.32.0",
5+
"ember-template-lint": "7.9.1",
6+
"eslint": "9.37.0",
7+
"prettier": "3.6.2",
8+
"stylelint": "16.25.0"
99
},
1010
"engines": {
1111
"node": ">= 22",

0 commit comments

Comments
 (0)