Skip to content

Commit

Permalink
Added lint task to all node projects
Browse files Browse the repository at this point in the history
This adds a `lint` task into all projects with autofix enabled. This will make it easier to auto-fix eslint warnings if we change the configs or while updating eslint dependency in batch using lerna or yarn workspaces. Unfortunatally (well fortunatelly) there was no autofixable warnings to resolve after this change which was my main goal with this PR, anyway, it's still good to have I believe for the future.

Also, this PR includes the commits in #4770 so if it is merged first, this becomes easier to review. If this one gets merged first than dependabot should close #4770 automatically too.
  • Loading branch information
valadas committed Aug 4, 2021
1 parent fc210d2 commit ba08a3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"package": "lerna run package",
"clean": "lerna run clean",
"lint": "lerna run lint",
"eslint-autofix": "lerna run eslint:fix"
"test": "lerna run test"
}
}

0 comments on commit ba08a3e

Please # to comment.