Skip to content

Conversation

@hainenber
Copy link
Contributor

@hainenber hainenber commented Nov 6, 2025

Resolves #1766

This PR is to implement a new option for prefer-lowercase-title rule so folks can ignore todo Jest functions. It's reasonable as TODO Jest tests are usually makeshift and not as refined as completed ones.

…case-title` rule

Signed-off-by: hainenber <dotronghai96@gmail.com>
Signed-off-by: hainenber <dotronghai96@gmail.com>
@hainenber
Copy link
Contributor Author

hi @G-Rath, can you help reviewing this PR? Thanks

@G-Rath G-Rath changed the title feat(rule): allow ignoring test.todo Jest functions for prefer-lowercase-title rule feat(prefer-lowercase-title): allow ignoring todos Nov 9, 2025
hainenber and others added 2 commits November 10, 2025 20:55
Co-authored-by: Gareth Jones <3151613+G-Rath@users.noreply.github.com>
Signed-off-by: hainenber <dotronghai96@gmail.com>
@hainenber
Copy link
Contributor Author

thanks @G-Rath, I've added more tests as requested to cover invalid scenarios. PTAL when you have time. Thanks!

@G-Rath G-Rath merged commit 4658638 into jest-community:main Nov 10, 2025
37 of 40 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 10, 2025
# [29.1.0](v29.0.1...v29.1.0) (2025-11-10)

### Features

* **prefer-lowercase-title:** allow ignoring `todo`s ([#1843](#1843)) ([4658638](4658638))
@github-actions
Copy link

🎉 This PR is included in version 29.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

asrar-mared

This comment was marked as spam.

asrar-mared

This comment was marked as spam.

asrar-mared

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[prefer-lowercase-title]: allow ignoring .todo titles

3 participants