-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add eslint to be run pre commit #3261
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
…r running pre commit hook Signed-off-by: Konstantina Blazhukova <[email protected]>
Signed-off-by: Konstantina Blazhukova <[email protected]>
Signed-off-by: Konstantina Blazhukova <[email protected]>
Signed-off-by: Konstantina Blazhukova <[email protected]>
Signed-off-by: Konstantina Blazhukova <[email protected]>
Signed-off-by: Konstantina Blazhukova <[email protected]>
Signed-off-by: Konstantina Blazhukova <[email protected]>
0c16cd0
to
4c2bee0
Compare
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks for the good work
Test Results 4 files - 16 420 suites +163 27s ⏱️ - 32m 56s Results for commit 4c2bee0. ± Comparison against base commit d1a8fbc. This pull request removes 609 and adds 1492 tests. Note that renamed tests count towards both.
This pull request removes 4 skipped tests and adds 1 skipped test. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3261 +/- ##
=======================================
Coverage 77.84% 77.84%
=======================================
Files 66 66
Lines 4460 4460
Branches 1000 1000
=======================================
Hits 3472 3472
Misses 613 613
Partials 375 375
Flags with carried forward coverage won't be shown. Click here to find out more. |
* Adds linting rules and lint script to all the packages; foundation for running pre commit hook Signed-off-by: Konstantina Blazhukova <[email protected]> * Removes license header rule and uninstalls unecessary plugin Signed-off-by: Konstantina Blazhukova <[email protected]> * tests Signed-off-by: Konstantina Blazhukova <[email protected]> * test import sorting Signed-off-by: Konstantina Blazhukova <[email protected]> * Adds trailing comma rule Signed-off-by: Konstantina Blazhukova <[email protected]> * remove unecessary test changes from test file Signed-off-by: Konstantina Blazhukova <[email protected]> * Removes leftover variable Signed-off-by: Konstantina Blazhukova <[email protected]> --------- Signed-off-by: Konstantina Blazhukova <[email protected]>
Description:
Added the
eslint --fix
command to lint-staged and husky. This means that whenever a staged file is committed it will be checked by eslint for any broken rules and they will be fixed, if possible. (some rules are not fixable, like unused-vars for example).Related issue(s):
Fixes #3064
Notes for reviewer:
Note the following things: