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

Fix all max-len ESLint rule infractions #1001

Merged
merged 2 commits into from
May 12, 2024
Merged

Conversation

Cruikshanks
Copy link
Member

@Cruikshanks Cruikshanks commented May 12, 2024

DEFRA/water-abstraction-team#115

In Exclude long strings from ESLint max-len rule we updated our ESLint max-len to exclude long strings or template literals from being flagged as issues.

That reduced the noise (there were many infractions!) and helped us see long lines of logic that should be refactored.

This fixes all the remaining max-len infractions.

@Cruikshanks Cruikshanks added the housekeeping Refactoring, tidying up or other work which supports the project label May 12, 2024
@Cruikshanks Cruikshanks self-assigned this May 12, 2024
DEFRA/water-abstraction-team#115

In [Exclude long strings from ESLint max-len rule](#992) we updated our ESLint [max-len](https://eslint.style/rules/js/max-len) to exclude long strings or template literals from being flagged as issues.

That reduced the noise (there were lots of infractions!) and helped us see actual long lines of logic which should be refactored.

This fixes all the remaining `max-len` infractions.
@Cruikshanks Cruikshanks force-pushed the fix-max-line-infractions branch from 2cb7512 to c96bf49 Compare May 12, 2024 14:21
@Cruikshanks Cruikshanks force-pushed the fix-max-line-infractions branch from c96bf49 to 6862a7a Compare May 12, 2024 14:22
@Cruikshanks Cruikshanks marked this pull request as ready for review May 12, 2024 15:17
@Cruikshanks Cruikshanks merged commit 2b56ced into main May 12, 2024
6 checks passed
@Cruikshanks Cruikshanks deleted the fix-max-line-infractions branch May 12, 2024 15:17
Cruikshanks added a commit that referenced this pull request May 12, 2024
DEFRA/water-abstraction-team#115

Following on from [Fix all max-len ESLint rule infractions](#1001) this change fixes the remaining infractions based on our current rules (all 1 of them!)
Cruikshanks added a commit that referenced this pull request May 12, 2024
DEFRA/water-abstraction-team#115

Following on from [Fix all max-len ESLint rule infractions](#1001) this change fixes the remaining infractions based on our current rules (all 1 of them!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Refactoring, tidying up or other work which supports the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant