-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
28 lines (24 loc) · 737 Bytes
/
.rubocop.yml
File metadata and controls
28 lines (24 loc) · 737 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
# This is the default configuration file. Enabling and disabling is configured
# in separate files. This file adds all other parameters apart from Enabled.
inherit_from:
- config/rubocop/enabled.yml
- config/rubocop/disabled.yml
# Common configuration.
AllCops:
# Include gemspec and Rakefile
Includes:
- '**/*.gemspec'
- '**/Rakefile'
Excludes:
- '**/db/**seeds.rb'
- '**/db/**schema.rb'
- '**/config/*initializers/**'
- '**/script/**'
# By default, the rails cops are not run. Override in project or home
# directory .rubocop.yml files, or by giving the -R/--rails option.
RunRailsCops: true
LineLength:
Max: 100
MethodLength:
CountComments: false # count full line comments?
Max: 25