-
Notifications
You must be signed in to change notification settings - Fork 758
/
default.yml
49 lines (44 loc) · 1.42 KB
/
default.yml
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
45
46
47
48
49
Rails:
Enabled: true
##############
# Global rules
AllCops:
Exclude:
- '.chefrepo/**/*'
- '.vagrant/**/*'
- '.git/**/*'
- 'node_modules/**/*'
- 'tungsten/**/*'
- 'tungsten-support/**/*'
- 'vendor/**/*'
- Vagrantfile
- Guardfile
# While Rubocop has released a bunch of new cops, not all of these cops have been evaluated as
# part of this styleguide. To prevent new, unevaluated cops from imposing on this styleguide, we
# are marking these new cops as disabled. Note that as a consumer of this styleguide, you can
# always override any choices here by setting `Enabled: true` on any cops that you would like to
# have be enabled, even if we have explicitly disabled them (or if they are new and we have yet
# to evaluate them). For more on this configuration parameter, see
# https://github.com/rubocop/rubocop/blob/1e55b1aa5e4c5eaeccad5d61f08b7930ed6bc341/config/default.yml#L89-L101
DisabledByDefault: true
RSpec:
Include:
- _spec.rb
- "(?:^|/)spec/"
RSpec/FactoryBot:
Include:
- spec/factories/**/*.rb
- features/support/factories/**/*.rb
inherit_from:
- './rubocop-airbnb.yml'
- './rubocop-bundler.yml'
- './rubocop-gemspec.yml'
- './rubocop-layout.yml'
- './rubocop-lint.yml'
- './rubocop-metrics.yml'
- './rubocop-naming.yml'
- './rubocop-performance.yml'
- './rubocop-rails.yml'
- './rubocop-rspec.yml'
- './rubocop-security.yml'
- './rubocop-style.yml'