Skip to content

Commit 5962565

Browse files
committed
Update rubocop to version 0.36.0
1 parent ab71a4d commit 5962565

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.rubocop.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
AllCops:
2-
RunRailsCops: true
32
Exclude:
43
- 'bin/*'
54
- 'db/schema.rb'
65
- 'db/seeds.rb'
76
- 'vendor/bundle/**/*'
87

8+
Rails:
9+
Enabled: true
10+
911
Metrics/AbcSize:
1012
Exclude:
1113
- 'app/controllers/passwords_controller.rb'
@@ -51,7 +53,7 @@ Style/DoubleNegation:
5153
Style/SpaceInsideHashLiteralBraces:
5254
EnforcedStyle: no_space
5355

54-
Style/TrailingComma:
56+
Style/TrailingCommaInLiteral:
5557
EnforcedStyleForMultiline: 'comma'
5658

5759
Style/WordArray:

Gemfile.lock

+2-6
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ GEM
3939
addressable (2.4.0)
4040
arel (6.0.3)
4141
ast (2.2.0)
42-
astrolabe (1.3.1)
43-
parser (~> 2.2)
4442
bcrypt (3.1.10)
4543
builder (3.2.2)
4644
coffee-rails (4.1.1)
@@ -170,13 +168,11 @@ GEM
170168
http-cookie (>= 1.0.2, < 2.0)
171169
mime-types (>= 1.16, < 3.0)
172170
netrc (~> 0.7)
173-
rubocop (0.35.1)
174-
astrolabe (~> 1.3)
175-
parser (>= 2.2.3.0, < 3.0)
171+
rubocop (0.36.0)
172+
parser (>= 2.3.0.0, < 3.0)
176173
powerpack (~> 0.1)
177174
rainbow (>= 1.99.1, < 3.0)
178175
ruby-progressbar (~> 1.7)
179-
tins (<= 1.6.0)
180176
ruby-progressbar (1.7.5)
181177
safe_yaml (1.0.4)
182178
sass (3.4.21)

0 commit comments

Comments
 (0)