配置.eslintrc 报错Error while running ESLint: createRequire is not a function

使用eslint配置@typescript-eslint相关配置时遇到:createRequire is not a function,

降低eslint版本:[email protected]

参考:https://github.com/AtomLinter/linter-eslint/issues/1351

你可能感兴趣的:(配置.eslintrc 报错Error while running ESLint: createRequire is not a function)