Skip to content

Commit 6c17935

Browse files
Merge pull request #95 from Root-App/jhughes/enforce-consistent-multiline-hash-and-arg-formatting
feat: enforce consistent multiline hash and argument formatting (v0.0.24)
2 parents 5f0b6df + fa14417 commit 6c17935

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ Layout/EmptyLineAfterGuardClause:
3838
Layout/LineLength:
3939
Enabled: false
4040

41+
Layout/MultilineHashKeyLineBreaks:
42+
Enabled: true
43+
4144
Lint/Debugger:
4245
AutoCorrect: false
4346

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### v0.0.24
2+
3+
- Enable `Layout/MultilineHashKeyLineBreaks` to enforce that when any key in a multi-line hash literal wraps to its own line, all keys must do the same.
4+
15
### v0.0.21
26

37
- Update rack version. See #87.

Gemfile.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
root-ruby-style (0.0.23)
4+
root-ruby-style (0.0.24)
55
activesupport (>= 5.0)
66
rubocop (~> 1.76)
77
rubocop-factory_bot (~> 2.27.1)
@@ -118,6 +118,7 @@ GEM
118118
PLATFORMS
119119
arm64-darwin-22
120120
arm64-darwin-24
121+
arm64-darwin-25
121122
x86_64-linux
122123

123124
DEPENDENCIES

root-ruby-style.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
55

66
Gem::Specification.new do |gem|
77
gem.name = "root-ruby-style"
8-
gem.version = "0.0.23"
8+
gem.version = "0.0.24"
99
gem.authors = ["Root Devs"]
1010
gem.email = ["devs@joinroot.com"]
1111

0 commit comments

Comments
 (0)