javascript icon indicating copy to clipboard operation
javascript copied to clipboard

Run `eslint` once in the root instead of in every package.

Open atimmer opened this issue 6 years ago • 0 comments

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-warnings statements into one --max-warnings flag in the root package.json.
  • Change yarn lint to run eslint directly instead of running lerna run yarn lint.

Feedback?

atimmer avatar Mar 26 '19 16:03 atimmer