react-hook-form-mui icon indicating copy to clipboard operation
react-hook-form-mui copied to clipboard

Reformat repo using eslint rools

Open ChromeGG opened this issue 3 years ago • 1 comments

Currently, eslint is throwing a lot of obvious errors like: image

They're easy to fix (most of them are auto-fixable). But the diff will be huuuuge. That's why I want it in a separate issue.

So on this ticket, I'll:

  1. Add sonarJS plugin for eslint.
  2. Fix all eslint errors.
  3. (Optionally) Provide a GH action that runs eslint before merging to master.

@dohomi Let me know what you think about that. If you wanna provide some other eslint rules, feel free 😃

ChromeGG avatar Jul 07 '22 19:07 ChromeGG

@ChromeGG feel free to open a PR with different eslint settings.

dohomi avatar Jul 08 '22 02:07 dohomi