Skip to content

Commit 8cbfcd3

Browse files
committed
Run rubocop --auto-gen-config
1 parent e040a83 commit 8cbfcd3

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
inherit_from: .rubocop_todo.yml
2+
13
require:
24
- rubocop-performance
35
- rubocop-rails

.rubocop_todo.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This configuration was generated by
2+
# `rubocop --auto-gen-config`
3+
# on 2021-11-10 04:19:08 UTC using RuboCop version 1.22.1.
4+
# The point is for the user to remove these configuration records
5+
# one by one as the offenses are removed from the code base.
6+
# Note that changes in the inspected code, or installation of new
7+
# versions of RuboCop, may require this file to be generated again.
8+
9+
# Offense count: 1
10+
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
11+
Metrics/AbcSize:
12+
Max: 20
13+
14+
# Offense count: 1
15+
# Configuration parameters: IgnoredMethods.
16+
Metrics/CyclomaticComplexity:
17+
Max: 8
18+
19+
# Offense count: 1
20+
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
21+
Metrics/MethodLength:
22+
Max: 11
23+
24+
# Offense count: 1
25+
# Cop supports --auto-correct.
26+
Security/IoMethods:
27+
Exclude:
28+
- 'lib/tasks/export.rake'

0 commit comments

Comments
 (0)