NullVoxPopuli / eslint-plugin-decorator-position

ESLint plugin for enforcing decorator position

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: CLIEngine is not a constructor with ESLint v8

EvgenyOrekhov opened this issue · comments

With ESLint 8.3.0 I get the following fatal error:

Failed to load plugin 'decorator-position' declared in '.eslintrc.json': CLIEngine is not a constructor
    at Object.<anonymous> (/example/node_modules/eslint-plugin-decorator-position/lib/rules/decorator-position.js:5:13)

yeah, I had started trying to support ESLint 8 (and ESLint 7) here: #441

but got distracted -- if you're motivated help would be extremely appreciated <3

Hello, any progress? We want migrate to Eslint 8

nay, I haven't been real motivated

I've hit this as well but I am good for now to stay with ESLint v7.

Should be resolved in v 5.0.0