-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
44 lines (39 loc) · 938 Bytes
/
.rubocop.yml
File metadata and controls
44 lines (39 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
inherit_from:
- .rubocop_todo.yml
- rubocop/layout.yml
- rubocop/lint.yml
- rubocop/metrics.yml
- rubocop/naming.yml
- rubocop/performance.yml
- rubocop/rails.yml
- rubocop/security.yml
- rubocop/style.yml
# Configuration hierarchy:
#
# 1. Rubocop defaults
# 2. Carbon Five defaults (this file)
# 3. Project overrides
#
# See http://rubocop.readthedocs.io/en/latest/configuration/#inheriting-configuration-from-a-remote-url for details.
#
plugins:
- rubocop-performance
- rubocop-rails
AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
NewCops: enable
Exclude:
- "bin/*"
- "config/initializers/secret_token.rb"
- config/initializers/new_framework_defaults_7_0.rb
- "db/schema.rb"
- "db/sample_data.rb"
- "db/migrate/*.rb"
- "lib/templates/**/*"
- "**/node_modules/**/*"
- "script/rails"
- "tmp/**/*"
- "vendor/**/*"
- "log/**/*"
- config/deploy/