| #
3a421c96 |
| 06-Jan-2022 |
James Ide <[email protected]> |
[lint] Add support for ESLint 8.x, bump to 10.0.0 (#15810)
Why
---
ESLint v8 came out awhile ago. This PR updates eslint-config-universe to support ESLint v8.
How
---
Most of the work was upd
[lint] Add support for ESLint 8.x, bump to 10.0.0 (#15810)
Why
---
ESLint v8 came out awhile ago. This PR updates eslint-config-universe to support ESLint v8.
How
---
Most of the work was updating dependencies and switching our tests to use `eslint.ESLint` instead of `eslint.CLIEngine`. Read through the changelog of each dependency and confirmed the breaking changes don't affect us (dropping Node 10 was the most common one).
Updated some deprecated ESLint rules that had been moved to eslint-plugin-node, a new dependency.
This is pretty much a drop-in change but I bumped the major version since several dependencies were upgraded and there was a slightly higher peer dep requirement for `@babel/core`.
Test Plan
---------
`yarn test` in the plugin directory
`et cp --no-uniformity-check --all --fix-lint`
show more ...
|
| #
7b8f6e6a |
| 28-Aug-2018 |
Exponent GitHub Bot <[email protected]> |
Set up linter + prettier configuration for the Expo repo
Adds a newer version of eslint-config-universe with base linter configurations. Each workspace does not yet have its own, more precise config
Set up linter + prettier configuration for the Expo repo
Adds a newer version of eslint-config-universe with base linter configurations. Each workspace does not yet have its own, more precise configuration right now.
The ESLint config contains root: true so that it doesn't inherit from ESLint configs higher up in the file system. There is also a prettierrc file that both prettier and eslint-config-universe will read i.e. our config is consistent.
Closes #3075
fbshipit-source-id: 0c6d05f
show more ...
|