Skip to content

fix: add ESLint 10 compatibility by replacing deprecated context.getSourceCode() #4050

fix: add ESLint 10 compatibility by replacing deprecated context.getSourceCode()

fix: add ESLint 10 compatibility by replacing deprecated context.getSourceCode() #4050

Re-run triggered March 3, 2026 12:33
Status Failure
Total duration 2m 20s
Artifacts

ci.yml

on: pull_request
Matrix: build
Matrix: eslint-versions
Fit to window
Zoom out
Zoom in

Annotations

23 errors
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > invalid > import Component from '@glimmer/component'; export default class MyComponent extends Component { <template>Hello!</template> }: tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:980:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:508:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > invalid > import { on } from '@ember/modifier'; const noop = () => {}; <template> <div {{on 'click' noop}} /> </template> <template> <div {{on 'click' noop}} /> </template> : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:980:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:508:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > invalid > import Component from '@glimmer/component'; export default classsss MyComponent extends Component { <template>Hello!</template> }: tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:980:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:508:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > invalid > import Component from '@glimmer/component'; export default class MyComponent extends Component { <template>Hello!</template> }: tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:980:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:508:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > const Foo = <template>hi</template>; <template> <Foo /> </template> : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:980:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; export default class MyComponent extends Component { @service foo; <template> {{this.foo}} <div></div> foobar </template> } : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:980:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > import Component from '@glimmer/component'; interface ListSignature<T> { Args: { items: Array<T>; }; Blocks: { default: [item: T] }; } export default class List<T> extends Component<ListSignature<T>> { <template> <div>Hello!</div> </template> }: tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:980:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > import Component from '@glimmer/component'; export default class MyComponent extends Component { foo() { return this.args.bar + this.args.baz; } <template>Hello World!</template> } : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:980:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > import { on } from '@ember/modifier'; const noop = () => {}; export default <template> <div {{on 'click' noop}} /> </template> : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:980:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > import Component from '@glimmer/component'; export default class MyComponent extends Component { constructor() { super(...arguments); } } : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:980:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
eslint-versions (10)
The strategy configuration was canceled because "eslint-versions._9" failed
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > invalid > import Component from '@glimmer/component'; export default class MyComponent extends Component { <template>Hello!</template> }: tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:979:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:508:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > invalid > import { on } from '@ember/modifier'; const noop = () => {}; <template> <div {{on 'click' noop}} /> </template> <template> <div {{on 'click' noop}} /> </template> : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:979:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:508:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > invalid > import Component from '@glimmer/component'; export default classsss MyComponent extends Component { <template>Hello!</template> }: tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:979:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:508:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > invalid > import Component from '@glimmer/component'; export default class MyComponent extends Component { <template>Hello!</template> }: tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:979:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:508:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > const Foo = <template>hi</template>; <template> <Foo /> </template> : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:979:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; export default class MyComponent extends Component { @service foo; <template> {{this.foo}} <div></div> foobar </template> } : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:979:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > import Component from '@glimmer/component'; interface ListSignature<T> { Args: { items: Array<T>; }; Blocks: { default: [item: T] }; } export default class List<T> extends Component<ListSignature<T>> { <template> <div>Hello!</div> </template> }: tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:979:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > import Component from '@glimmer/component'; export default class MyComponent extends Component { foo() { return this.args.bar + this.args.baz; } <template>Hello World!</template> } : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:979:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > import { on } from '@ember/modifier'; const noop = () => {}; export default <template> <div {{on 'click' noop}} /> </template> : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:979:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > import Component from '@glimmer/component'; export default class MyComponent extends Component { constructor() { super(...arguments); } } : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Invalid Options: - Unknown options: useEslintrc ❯ processOptions node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:979:9 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:720:28 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ESLINT_INVALID_OPTIONS' }
eslint-versions (8)
The strategy configuration was canceled because "eslint-versions._9" failed
eslint-versions (8)
The operation was canceled.