Skip to content

[2.4.0][Watch][Windows] ESLint doesn't exit after completing a cli lint #1079

Closed
@doberkofler

Description

@doberkofler

Simply upgrading eslint-pluginand parser from 2.3.3 to 2.4.0 causes eslint to hang at the end of the processing.

npx eslint --cache --report-unused-disable-directives "./**/*.{js,jsx,ts,tsx}"

I've enabled basic debugging DEBUG=eslint:cli-engine and the last message is eslint:cli-engine Linting complete in: 110453ms +219ms and then the eslint command does not seem to return (within several minutes) and I can only kill the process.
I have tried this without any change to the sources to be parsed or the configuration and simply upgrading to 2.4.0 makes eslint hang and after moving back to 2.3.3 it does no longer hang.

(I'm aware that I should upload a reproducible test case but given the nature of this problem this seems not possible right now)

Versions

package version
@typescript-eslint/eslint-plugin 2.4.0
@typescript-eslint/parser 2.4.0
TypeScript 3.6.4
ESLint 6.5.1
node 12.12.0
npm 6.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estree

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions