Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed when eslint was updated from 5.16.0 to 6.0.0. #23

Closed
hermeslin opened this issue Jun 26, 2019 · 1 comment
Closed

build failed when eslint was updated from 5.16.0 to 6.0.0. #23

hermeslin opened this issue Jun 26, 2019 · 1 comment

Comments

@hermeslin
Copy link
Owner

PR: #21

Error: Failed to load plugin 'import' declared in '.eslintrc.json » eslint-config-airbnb-base » /home/travis/build/hermeslin/guardian-of-env/node_modules/eslint-config-airbnb-base/rules/imports.js': Cannot find module 'eslint/lib/util/source-code'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/travis/build/hermeslin/guardian-of-env/node_modules/eslint-plugin-import/lib/ExportMap.js:20:19)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The command "yarn lint" exited with 1.
@hermeslin
Copy link
Owner Author

airbnb/javascript#2036
airbnb not support eslint v6 yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant