Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TypeScript 5.4 and typescript-eslint 7.3.1 #4613

Merged
merged 2 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ void test() {
)
)
.isEmpty();
assertThat(buildResult.getLogsLines(l -> l.contains("TS API in custom rule: TS version 5.3.3")))
assertThat(buildResult.getLogsLines(l -> l.contains("TS API in custom rule: TS version 5.4.3")))
.hasSize(2);
List<Issue> issues = findIssues("eslint-custom-rules:sqKey", orchestrator);
assertThat(issues).hasSize(2);
Expand Down
20 changes: 0 additions & 20 deletions its/ruling/src/test/expected/jsts/Ghost/javascript-S6671.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"TypeScript:scripts/tslint/noIncrementDecrementRule.ts": [
31
],
"TypeScript:src/compiler/binder.ts": [
236,
298,
Expand Down Expand Up @@ -306,6 +309,7 @@
2043
],
"TypeScript:src/harness/fourslash.ts": [
427,
1500,
2773,
2782
Expand Down Expand Up @@ -367,6 +371,7 @@
],
"TypeScript:src/services/findAllReferences.ts": [
835,
942,
1021,
1525,
1624
Expand Down
2 changes: 2 additions & 0 deletions its/ruling/src/test/expected/jsts/ace/javascript-S131.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
5506,
5533,
6936,
6936,
8437,
11431,
11691,
Expand Down Expand Up @@ -76,6 +77,7 @@
103
],
"ace:src/mode/behaviour.js": [
10,
10
],
"ace:src/mode/folding/ruby.js": [
Expand Down
7 changes: 2 additions & 5 deletions its/ruling/src/test/expected/jsts/ace/javascript-S6582.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,9 @@
9398,
10225,
10306,
10317,
10377
10317
],
"ace:lib/ace/mode/javascript/jshint.js": [
76,
460,
1516,
2524,
Expand Down Expand Up @@ -335,8 +333,7 @@
36,
40,
49,
50,
55
50
],
"ace:src/lib/dom.js": [
15,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@
360
],
"ag-grid:src/ts/entities/column.ts": [
227,
233,
243,
249
],
"ag-grid:src/ts/entities/columnGroup.ts": [
Expand Down Expand Up @@ -107,6 +109,9 @@
"ag-grid:src/ts/rendering/cellRendererService.ts": [
85
],
"ag-grid:src/ts/rendering/renderedCell.ts": [
201
],
"ag-grid:src/ts/sortController.ts": [
157
],
Expand Down

This file was deleted.

130 changes: 96 additions & 34 deletions its/ruling/src/test/expected/jsts/ant-design/typescript-S4325.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,58 @@
"ant-design:components/affix/index.tsx": [
274
],
"ant-design:components/alert/index.tsx": [
74
"ant-design:components/alert/__tests__/index.test.tsx": [
38,
127,
144
],
"ant-design:components/anchor/Anchor.tsx": [
27,
258
],
"ant-design:components/anchor/__tests__/Anchor.test.tsx": [
61,
78,
79,
118
118,
228,
317,
533,
734,
736
],
"ant-design:components/anchor/__tests__/cached-context.test.tsx": [
42,
44,
46,
48,
49,
50,
52
],
"ant-design:components/avatar/avatar.tsx": [
233
],
"ant-design:components/back-top/index.tsx": [
41
"ant-design:components/badge/__tests__/index.test.tsx": [
67
],
"ant-design:components/badge/index.tsx": [
63
],
"ant-design:components/button/__tests__/index.test.tsx": [
157,
181,
207,
327
],
"ant-design:components/button/__tests__/wave.test.tsx": [
83,
87,
99
],
"ant-design:components/button/button.tsx": [
171
],
"ant-design:components/calendar/Header.tsx": [
73,
115
],
"ant-design:components/cascader/index.tsx": [
82,
279
Expand All @@ -37,12 +62,10 @@
203
],
"ant-design:components/date-picker/generatePicker/generateRangePicker.tsx": [
47,
119
47
],
"ant-design:components/date-picker/generatePicker/generateSinglePicker.tsx": [
57,
123
57
],
"ant-design:components/date-picker/util.ts": [
28,
Expand All @@ -54,30 +77,52 @@
"ant-design:components/drawer/index.tsx": [
204
],
"ant-design:components/dropdown/dropdown-button.tsx": [
109
],
"ant-design:components/form/FormItemLabel.tsx": [
88,
89
],
"ant-design:components/form/hooks/useFormInstance.ts": [
8
"ant-design:components/form/hooks/useFrameState.ts": [
19
],
"ant-design:components/input/Password.tsx": [
39
"ant-design:components/input/Search.tsx": [
68
],
"ant-design:components/input/TextArea.tsx": [
36,
39,
134,
140,
157,
160,
190,
170,
205,
209
],
"ant-design:components/input/__tests__/focus.test.tsx": [
62
],
"ant-design:components/input/__tests__/index.test.tsx": [
61,
80,
81,
82,
102,
103,
104,
231,
232,
235,
287,
290,
325,
339,
349,
378,
379,
380,
381,
382,
405,
408
],
"ant-design:components/layout/Sider.tsx": [
122
],
Expand All @@ -93,40 +138,54 @@
"ant-design:components/popover/index.tsx": [
37
],
"ant-design:components/slider/SliderTooltip.tsx": [
15
],
"ant-design:components/statistic/__tests__/index.test.tsx": [
123,
125,
135,
137
],
"ant-design:components/table/ExpandIcon.tsx": [
27
],
"ant-design:components/table/Table.tsx": [
362,
419,
472,
475
],
"ant-design:components/table/hooks/useFilter/FilterDropdown.tsx": [
174
],
"ant-design:components/table/hooks/useFilter/index.tsx": [
54
],
"ant-design:components/table/hooks/useSelection.tsx": [
34,
35,
36,
342
],
"ant-design:components/table/hooks/useSorter.tsx": [
71,
97
],
"ant-design:components/tabs/index.tsx": [
47
"ant-design:components/tag/index.tsx": [
55
],
"ant-design:components/timeline/Timeline.tsx": [
48
],
"ant-design:components/transfer/__tests__/dropdown.test.tsx": [
54,
70,
104,
131
],
"ant-design:components/transfer/list.tsx": [
282,
284
],
"ant-design:components/tree/DirectoryTree.tsx": [
86
],
"ant-design:components/typography/Base/index.tsx": [
142
142,
200
],
"ant-design:components/typography/Text.tsx": [
18
Expand All @@ -139,6 +198,9 @@
"ant-design:components/upload/utils.tsx": [
57
],
"ant-design:site/theme/template/IconDisplay/index.tsx": [
87
],
"ant-design:site/theme/template/IconDisplay/themeIcons.tsx": [
21,
35,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@
370,
377
],
"ant-design:components/index.tsx": [
7
],
"ant-design:components/input/Search.tsx": [
52
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"console:src/views/models/AuthProviderPopup/AuthProviderSidePanel.tsx": [
399
],
"console:src/views/models/DatabrowserView/Cell/SelectNodesCell/Table/Table.tsx": [
215
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
],
"console:src/actions/gettingStarted.tsx": [
65
],
"console:src/views/models/AuthProviderPopup/AuthProviderSidePanel.tsx": [
487
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,9 @@
"courselit:apps/web/components/admin/settings.tsx": [
310
],
"courselit:apps/web/components/admin/users/details.tsx": [
85,
110
],
"courselit:apps/web/pages/api/payment/initiate.ts": [
55,
55,
64,
65,
83
],
"courselit:apps/web/pages/api/payment/verify.ts": [
47
65
],
"courselit:apps/web/payments/stripe-payment.ts": [
72
Expand Down
Loading
Loading