Skip to content

Conversation

@jackwickham
Copy link
Contributor

@jackwickham jackwickham commented Jul 21, 2020

Before this PR

TODO comments of the form // TODO: something are disallowed, but the rule is case sensitive so // todo: something doesn't get caught.

After this PR

==COMMIT_MSG==
Make TODO checkstyle rule case insensitive
==COMMIT_MSG==

I found 19 results in our product repos that would be blocked by this change based on a simple (incomplete) regex.

An alternative approach would be to leave it case sensitive and add a separate rule that disallows lower-case TODO rules, but that would affect more repos.

==MERGE_WHEN_READY==

@changelog-app
Copy link

changelog-app bot commented Jul 21, 2020

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Make TODO checkstyle rule case insensitive

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from dansanduleac July 21, 2020 13:09
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