forked from rubocop/rubocop
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new option to Naming/VariableNumber snake_case
Fix rubocop#10539 Adds a new integer option called `MaxAllowedLettersBeforeNumber` to allow a positive number of non-digits before the digits in a snake_case style that would otherwise require separation between them, e.g. `_v1`.
- Loading branch information
1 parent
523ccba
commit e8643c3
Showing
4 changed files
with
118 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* [#10539](https://github.com/rubocop/rubocop/issues/10539): Add new MaxAllowedLettersBeforeNumber option to Naming/VariableNumber snake_case. ([@henrahmagix][]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters