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

feat(max-len): broaden ignore list #130

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Conversation

wraithgar
Copy link
Member

Adds strings, template literals, regexp literals, and urls to the max-len ignore list. All of these things can and sometimes must exceed this length.

Strings and template-literals are intended for output. Wrapping/truncation is the job of the terminal.
regexp formulas are not something that can be arbitrarily broken up and truncated.
urls are strings that should not be broken up.

Adds strings, template literals, regexp literals, and urls to the max-len ignore list.  All of these things can and sometimes must exceed this length.

Strings and template-literals are intended for output.  Wrapping/truncation is the job of the terminal.
regexp formulas are not something that can be arbitrarily broken up and truncated.
urls are strings that should not be broken up.
@wraithgar wraithgar requested a review from a team as a code owner January 14, 2025 16:44
Copy link
Contributor

@reggi reggi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YES! 🚀

@wraithgar wraithgar merged commit 2280969 into main Jan 14, 2025
2 checks passed
@wraithgar wraithgar deleted the gar/max-len-template-literals branch January 14, 2025 16:46
@github-actions github-actions bot mentioned this pull request Jan 14, 2025
wraithgar pushed a commit that referenced this pull request Jan 14, 2025
🤖 I have created a release *beep* *boop*
---


## [5.1.0](v5.0.1...v5.1.0)
(2025-01-14)
### Features
*
[`2280969`](2280969)
[#130](#130) max-len: broaden
ignore list (#130) (@wraithgar)
### Chores
*
[`15cc5ea`](15cc5ea)
[#129](#129) bump
@npmcli/template-oss from 4.23.3 to 4.23.4 (#129) (@dependabot[bot],
@npm-cli-bot)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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