Skip to content
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

chore: update to latest eslint and linting rules #3995

Merged
merged 1 commit into from
Nov 4, 2021

Conversation

wraithgar
Copy link
Member

This brings us in line with the rest of the linting rules we are wanting
to use on the npm cli repos.

There were several hundred over-length lines and instead of editing them
all by hand I piped the failing file through prettier and back through
eslint just to save some time and energy. This means there may be
some quirks in the linting those files have, but we can fix those if we
see them and they bother us.

Other than that there were about 50 lines that are legitimately
over-length, all are now explicitly overridden. Many are tests that
could be snapshots.

@wraithgar wraithgar requested a review from a team as a code owner November 4, 2021 18:35
@wraithgar wraithgar force-pushed the deps/eslint-et-al branch 4 times, most recently from c45036f to 598df2f Compare November 4, 2021 20:56
This brings us in line with the rest of the linting rules we are wanting
to use on the npm cli repos.

There were several hundred over-length lines and instead of editing them
all by hand I piped the failing file through `prettier` and back through
`eslint` just to save some time and energy.  This means there may be
some quirks in the linting those files have, but we can fix those if we
see them and they bother us.

Other than that there were about 50 lines that are legitimately
over-length, all are now explicitly overridden.  Many are tests that
could be snapshots.

PR-URL: #3995
Credit: @wraithgar
Close: #3995
Reviewed-by: @lukekarrys
@wraithgar wraithgar merged commit 2256454 into release-next Nov 4, 2021
@wraithgar wraithgar deleted the deps/eslint-et-al branch November 4, 2021 21:45
@fritzy fritzy mentioned this pull request Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants