javascript
javascript copied to clipboard
Run `eslint` once in the root instead of in every package.
Summary
We only need one invocation of ESLint for the whole repository.
Explanation
We currently run yarn lint in every package. This means that we need to define this in every package.json. We should remove those statements and instead have one yarn lint configuration inside the root package.json.
Technical decisions
- Combine all the
--max-warningsstatements into one--max-warningsflag in the rootpackage.json. - Change
yarn lintto runeslintdirectly instead of runninglerna run yarn lint.