Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: Upgrade ESLint to ^6.8.0, and related deps.
We're not quite ready for ESLint 7 because several of our plugins don't support it yet. Fair enough; 6.8.0 is the latest on ESLint 6. Done with the following commands: ``` yarn upgrade --latest \ eslint@^6.8.0 \ eslint-plugin-flowtype@^4.7.0 \ eslint-plugin-jest@^22.21.0 \ $( tools/deps | grep eslint \ | grep -vx \ -e eslint \ -e eslint-plugin-flowtype \ -e eslint-plugin-jest ) ``` then ``` yarn add eslint-plugin-react-hooks@^4.0.8 ``` - Any later `eslint-plugin-flowtype`, and we'd have to be using ESLint 7. - Any later `eslint-plugin-jest`, and one of its rather distant dependencies declares `typescript` as a peer dependency. - `eslint-plugin-react-hooks` is a peer dependency of the new version of `eslint-config-airbnb`, with ^4 being part of the version range. 4.0.8 is the latest. Then `yarn yarn-deduplicate && yarn` as prompted by `tools/test deps`. Fixes: zulip#4120
- Loading branch information