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

eslint v6 support #2036

Closed
17 tasks done
ljharb opened this issue May 11, 2019 · 11 comments
Closed
17 tasks done

eslint v6 support #2036

ljharb opened this issue May 11, 2019 · 11 comments

Comments

@ljharb
Copy link
Collaborator

ljharb commented May 11, 2019

Just like #1834 and #1447, I'm filing this in advance.

eslint v6 alpha has been released.

The current plan is to release a new semver-major of both configs, that supports 3 || 4 || 5 || 6, and the next major after that will drop support for 3 || 4, and only support 5 || 6.

The timeframe for eslint v6 support is "probably not as soon as you would like, but as soon as we can".
Please accept this, and please add no noise to this thread beyond emoji reactions - distractions won't help anyone get the work done any faster.

Please do not file additional issues and do not file pull requests attempting to add support - please, instead, continue to use eslint v5 until such time as our configs support v6.

Peer Dep eslint combined v5 and v6 support released:

@ljharb
Copy link
Collaborator Author

ljharb commented Jun 22, 2019

eslint v6 is now released.

If you’d like to see our config support it, please submit PRs to the peer dependencies and tools listed above.

@sheepsteak
Copy link

WIP PR for eslint-plugin-import(waiting for third party release) - import-js/eslint-plugin-import#1393

@sheepsteak

This comment has been minimized.

@kristho91
Copy link

eslint-plugin-jsx-a11y is now updated to support ESLint 6 - just for info :)

@kaelzhang
Copy link

The current peerDependency ^4.19.1 || ^5.3.0 of eslint fails every CI jobs of which the project uses eslint 6

@ljharb
Copy link
Collaborator Author

ljharb commented Jul 14, 2019

@kaelzhang yes, that’s because it’s not yet compatible with eslint v6. Until it is, stick with v5.

@MatthewHerbst
Copy link

@kaelzhang yes, that’s because it’s not yet compatible with eslint v6. Until it is, stick with v5.

@ljharb are there specific parts that aren't compatible? Best I can tell, most of the breaking changes were in changing the recommended rules, changing some defaults, or making config parsing stricter.

I'm testing the following setup, and other than the peerDependency warning, everything seems to work (I wouldn't be surprised if something isn't working and I haven't noticed yet, though no lint rules are failing).

{
    "babel-eslint": "^10.0.2",
    "eslint": "^6.0.1",
    "eslint-config-airbnb": "^17.1.1",
    "eslint-plugin-import": "^2.18.0",
    "eslint-plugin-jsx-a11y": "^6.2.3",
    "eslint-plugin-mocha": "^5.3.0",
    "eslint-plugin-react": "^7.14.2",
    "eslint-plugin-react-hooks": "^1.6.1",
    "eslint-plugin-security": "^1.4.0",
}

@ljharb
Copy link
Collaborator Author

ljharb commented Jul 16, 2019

@MatthewHerbst until npm ls exits successfully, your dependency graph is invalid - in other words, the peerDependency warning should be gating your CI and preventing the upgrade.

@bjankord
Copy link

Curious about the status of this. Is this blocked on anything? Are the things people could help out with to move this along?

@ljharb
Copy link
Collaborator Author

ljharb commented Jul 27, 2019

Yes, it is blocked by sarbbottam/eslint-find-rules#304. Anyone can help it along by submitting a PR that adds eslint 6 support to that package without a breaking change.

@ljharb
Copy link
Collaborator Author

ljharb commented Aug 10, 2019

https://twitter.com/ljharb/status/1160221334502121472?s=21

Both configs have now been released.

@ljharb ljharb closed this as completed Aug 10, 2019
@ljharb ljharb unpinned this issue Oct 30, 2019
vunb pushed a commit to hsdt/javascript that referenced this issue Nov 27, 2019
@ljharb ljharb mentioned this issue May 7, 2020
19 tasks
eugene2candy pushed a commit to eugene2candy/javascript that referenced this issue Apr 10, 2021
@ljharb ljharb mentioned this issue Oct 9, 2021
22 tasks
@ljharb ljharb mentioned this issue Apr 6, 2024
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants