Skip to content

feat: support ESLint 9 #41

feat: support ESLint 9

feat: support ESLint 9 #41

Triggered via pull request July 16, 2024 23:25
Status Failure
Total duration 30s
Artifacts

feature.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Test: tests/RuleTester.ts#L10
Property 'afterAll' does not exist on type 'typeof RuleTester'.
Test: tests/RuleTester.ts#L12
Property 'afterAll' does not exist on type 'typeof RuleTester'.
Test: tests/RuleTester.ts#L13
Property 'describe' does not exist on type 'typeof RuleTester'.
Test: tests/RuleTester.ts#L35
Argument of type 'RuleModule<TMessageIds, TOptions, RuleListener>' is not assignable to parameter of type 'RuleModule'.
Test: tests/rules/filenameMatchExported.ts#L60
Type '{ code: string; errors: { column: number; line: number; messageId: "regularFile"; }[]; filename: string; languageOptions: { ecmaVersion: number; }; }' is not assignable to type 'InvalidTestCase<"indexFile" | "regularFile", Options>'.
Test: tests/rules/filenameMatchExported.ts#L74
Type '{ code: string; errors: { column: number; line: number; messageId: "regularFile"; }[]; filename: string; languageOptions: { parserOptions: { ecmaFeatures: { jsx: true; }; ecmaVersion: number; }; }; }' is not assignable to type 'InvalidTestCase<"indexFile" | "regularFile", Options>'.
Test: tests/rules/filenameMatchExported.ts#L104
Type '{ code: string; errors: { column: number; line: number; messageId: "regularFile"; }[]; filename: string; languageOptions: { parserOptions: { ecmaFeatures: { jsx: true; }; }; }; }' is not assignable to type 'InvalidTestCase<"indexFile" | "regularFile", Options>'.
Test: tests/rules/filenameMatchExported.ts#L122
Type '{ code: string; errors: { column: number; line: number; messageId: "regularFile"; }[]; filename: string; languageOptions: { ecmaVersion: number; sourceType: string; }; }' is not assignable to type 'InvalidTestCase<"indexFile" | "regularFile", Options>'.
Test: tests/rules/filenameMatchExported.ts#L137
Type '{ code: string; errors: { column: number; line: number; messageId: "regularFile"; }[]; filename: string; languageOptions: { ecmaVersion: number; sourceType: string; }; }' is not assignable to type 'InvalidTestCase<"indexFile" | "regularFile", Options>'.
Test: tests/rules/filenameMatchExported.ts#L152
Type '{ code: string; errors: { column: number; line: number; messageId: "regularFile"; }[]; filename: string; languageOptions: { parserOptions: { ecmaFeatures: { jsx: true; }; }; ecmaVersion: number; sourceType: string; }; }' is not assignable to type 'InvalidTestCase<"indexFile" | "regularFile", Options>'.
Test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/