-
Notifications
You must be signed in to change notification settings - Fork 49
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
Support ESLint 8.x #336
Support ESLint 8.x #336
Conversation
# Conflicts: # .github/workflows/ci.yml
- uses: codecov/codecov-action@v2 | ||
# `xo` can't work on ESLint 8 and Node.js 16 yet | ||
- if: ${{ matrix.node-version == '^14.17' }} | ||
run: npm install eslint@7 && npx xo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does XO fail if the package has ESLint 8 installed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because eslint-plugin-unicorn
in xo
don't support eslint 8, we can fix it by adding eslint-plugin-unicorn
to dependencies, but I don't think it's necessary, because xo
is blocking by eslint-plugin-ava
, we'll get new xo
very soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How strange; I get it with npm 8 and it seems to be some resolution error. It's weird because you'd think the dependencies are scoped within the package. But fine, please do circle back when it's all done.
@fisker @sindresorhus is this a breaking change or a minor release? |
Minor. |
Published as 13.1. |
Fixes #335