Skip to content

Unhandled exception on update to 3.3.2 #74

@KeithGillette

Description

@KeithGillette

When updating from 3.3.1 to 3.3.2, I get the following error linting our Angular project:

An unhandled exception occurred: Failed to load plugin 'eslint-plugin-rxjs' declared in '.eslintrc.json#overrides[0]': Unexpected token '?'

The path-redacted angular-errors.log:

[error] /Path/To/node_modules/eslint-etc/dist/cjs/get-type-services.js:42
            tsTypeNode = tsNode.type ?? tsNode.body;
                                      ^

SyntaxError: Unexpected token '?'
    at compileFunction (<anonymous>)
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/Path/To/node_modules/eslint-etc/dist/cjs/index.js:19:14)
    at Module._compile (internal/modules/cjs/loader.js:999:30)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions