You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In my experience, we tend not to pay much attention to ESLint warnings as we do breaking errors.
However, it appears that some warning rules are among the most impactful rules in our linting configuration:
import/no-deprecated
deprecation/deprecated
@typescript-eslint/no-floating-promises
@typescript-eslint/no-misused-promises
Especially during CI builds it seems counterproductive to do the work of checking these warnings, if we run with --quiet anyway.
We could save about 20s by setting these rules to "off".
To Reproduce
Steps to reproduce the behavior:
Run ESLint ~ TIMING=1 yarn run eslint . --quiet
Go over the rules in the "top 10" view, you'll see that many of them are only warnings
Describe the bug
In my experience, we tend not to pay much attention to ESLint warnings as we do breaking errors.
However, it appears that some warning rules are among the most impactful rules in our linting configuration:
import/no-deprecated
deprecation/deprecated
@typescript-eslint/no-floating-promises
@typescript-eslint/no-misused-promises
Especially during CI builds it seems counterproductive to do the work of checking these warnings, if we run with
--quiet
anyway.We could save about 20s by setting these rules to "off".
To Reproduce
Steps to reproduce the behavior:
TIMING=1 yarn run eslint . --quiet
Related work
#2343
The text was updated successfully, but these errors were encountered: