-
-
Notifications
You must be signed in to change notification settings - Fork 943
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
test: lint vitest #2098
test: lint vitest #2098
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## next #2098 +/- ##
==========================================
- Coverage 99.59% 99.59% -0.01%
==========================================
Files 2605 2605
Lines 244951 244951
Branches 1150 1145 -5
==========================================
- Hits 243969 243957 -12
- Misses 955 967 +12
Partials 27 27 |
I think this is a good start But there are more rules to explore later in future PRs like |
0be742b
to
9207892
Compare
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.
Please set the lint level to error. Since there is no point in just warning about errors and then ignoring them.
you might have read something different |
You haven't done explicitly here, but implicitly (or there is a config error somewhere). As per #1431 we decided to use error for lint rules to prevent accidentally adding warnings, that don't get fixed. To prevent cases like these that "pollute" the build logs. (If it is important, then it should be fixed. If it isn't important, why clutter the logs with warnings.) I don't care whether we explicitly configure them to error or consider warnings to be errors in CI. |
The issue is now open and requested at upstream |
will rebase after the dep updates |
Lint with https://www.npmjs.com/package/eslint-plugin-vitest