Skip to content

Commit 8a7fd7b

Browse files
committed
fix(typescript): moving to TS 5.9
1 parent 4602966 commit 8a7fd7b

40 files changed

+3954
-2712
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Use Node.js
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: 20
22+
node-version: 22.18
2323
- name: Install dependencies
2424
run: npm ci
2525

eslint.config.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ export default [...[].concat(
159159
ignoreConditionalTests: false,
160160
}],
161161
"@typescript-eslint/no-unused-vars": "off",
162-
163162
"jsdoc/require-jsdoc": ["error", {
164163
contexts: ["TSTypeAliasDeclaration", "TSInterfaceDeclaration", "TSPropertySignature"],
165164

@@ -221,6 +220,8 @@ export default [...[].concat(
221220
"import/first": "error",
222221
"import/no-unresolved": "off",
223222

223+
"unicorn/no-array-reverse": "off", // temporary
224+
"unicorn/prefer-class-fields": "off",
224225
"unicorn/switch-case-braces": "off",
225226
"unicorn/no-thenable": "off",
226227
"unicorn/prevent-abbreviations": "off",
@@ -313,6 +314,7 @@ export default [...[].concat(
313314
"jest/no-disabled-tests": "warn",
314315
"jest/prefer-spy-on": "off",
315316
"jest/prefer-expect-assertions": "off",
317+
"jest/prefer-ending-with-an-expect": "off",
316318
"jest/expect-expect": ["error", {
317319
assertFunctionNames: ["expect", "expectObservable", "checkTouchPoint"],
318320
additionalTestBlockFunctions: [],
@@ -351,6 +353,7 @@ export default [...[].concat(
351353
SwitchCase: 1,
352354
}],
353355

356+
"@typescript-eslint/no-misused-spread": "off",
354357
"@typescript-eslint/no-unsafe-type-assertion": "off",
355358
"@typescript-eslint/only-throw-error": "off",
356359
"@typescript-eslint/prefer-destructuring": "off",

0 commit comments

Comments
 (0)