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

Introduce IdentifierName:AllowInitialismsInTypeName flag #4646

Conversation

Stephan202
Copy link
Contributor

While default IdentifierName behavior is unchanged, this flag allows
users to slightly relax the type name validation performed by this
check.

While default `IdentifierName` behavior is unchanged, this flag allows
users to slightly relax the type name validation performed by this
check.
@Stephan202
Copy link
Contributor Author

See this message and the preceding comments for context. Naturally happy to rework the PR to have the flag trigger slightly different behavior, if desired.

copybara-service bot pushed a commit that referenced this pull request Oct 30, 2024
While default `IdentifierName` behavior is unchanged, this flag allows
users to slightly relax the type name validation performed by this
check.

Fixes #4646

FUTURE_COPYBARA_INTEGRATE_REVIEW=#4646 from PicnicSupermarket:sschroevers/allow-initialisms-in-type-names 82abeaf
PiperOrigin-RevId: 691414607
@Stephan202 Stephan202 deleted the sschroevers/allow-initialisms-in-type-names branch October 30, 2024 15:27
benkard pushed a commit to benkard/jgvariant that referenced this pull request Nov 20, 2024
This MR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [com.google.errorprone:error_prone_core](https://errorprone.info) ([source](https://github.com/google/error-prone)) |  | minor | `2.35.1` -> `2.36.0` |
| [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://github.com/google/error-prone)) | compile | minor | `2.35.1` -> `2.36.0` |

---

### Release Notes

<details>
<summary>google/error-prone</summary>

### [`v2.36.0`](https://github.com/google/error-prone/releases/tag/v2.36.0): Error Prone 2.36.0

[Compare Source](google/error-prone@v2.35.1...v2.36.0)

Changes:

-   Add new matcher interfaces to `ErrorProneScanner` for AST nodes introduced after Java 11 ([`e5fd194`](google/error-prone@e5fd194))
-   Fix compatibility with latest JDK 24 EA builds (google/error-prone@d67bc15)
-   Check that `--should-stop=ifError=FLOW` is set when using the `-Xplugin` integration ([`e71db1f`](google/error-prone@e71db1f))

New checks:

-   [`DuplicateBranches`](https://errorprone.info/bugpattern/DuplicateBranches): Discourage conditional expressions and if statements where both branches are the same
-   [`RedundantControlFlow`](https://errorprone.info/bugpattern/RedundantControlFlow): Reports redundant `continue` statements.

Closed issues: [#&#8203;4633](google/error-prone#4633), [#&#8203;4646](google/error-prone#4646)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNC4wIiwidXBkYXRlZEluVmVyIjoiMzQuMjQuMCJ9-->
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