Skip to content

Repo: Lint CI task failing on main (and PR branches) #11438

@kirkwaiblinger

Description

@kirkwaiblinger

Suggestion

I can repro this locally. I've been using: git clean -xfd && SKIP_POSTINSTALL=true yarn && yarn nx run eslint-plugin:lint (appears to be nondeterministic for me?)

I get:

> nx run eslint-plugin:lint

> eslint --config=eslint.config.mjs packages/eslint-plugin

Oops! Something went wrong! :(

ESLint: 9.26.0

AtomicsWaitError: _
Occurred while linting /[...]/packages/eslint-plugin/tests/rules/explicit-function-return-type.test.ts:7
Rule: "@typescript-eslint/internal/plugin-test-formatting"
at _Lock.lock (/[...]/node_modules/make-synchronized/index.cjs:128:11)
at request (/[...]/node_modules/make-synchronized/index.cjs:161:8)
at #sendActionToWorker (/[...]/node_modules/make-synchronized/index.cjs:218:61)
at ThreadsWorker.sendAction (/[...]/node_modules/make-synchronized/index.cjs:177:36)
at _Synchronizer.apply (/[...]/node_modules/make-synchronized/index.cjs:297:25)
at Module. (/[...]/node_modules/make-synchronized/index.cjs:303:40)
at getCodeFormatted (/[...]/packages/eslint-plugin-internal/dist/rules/plugin-test-formatting.js:124:22)
at getCodeFormattedOrReport (/[...]/packages/eslint-plugin-internal/dist/rules/plugin-test-formatting.js:145:31)
at checkLiteral (/[...]/packages/eslint-plugin-internal/dist/rules/plugin-test-formatting.js:183:32)
at checkExpression (/[...]/packages/eslint-plugin-internal/dist/rules/plugin-test-formatting.js:168:21)

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuelocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.repo maintenancethings to do with maintenance of the repo, and not with code/docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions