forked from Apipie/apipie-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
37 lines (31 loc) · 907 Bytes
/
.rubocop.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
require:
- rubocop-rails
- rubocop-rspec
- rubocop-performance
inherit_from: .rubocop_todo.yml
Rails:
Enabled: true
AllCops:
NewCops: enable
Layout/LineLength:
Max: 140
Exclude:
- app/controllers/apipie/apipies_controller.rb
- lib/apipie/extractor/writer.rb
- lib/apipie/param_description.rb
- lib/apipie/response_description_adapter.rb
- lib/apipie/swagger_generator.rb
- lib/apipie/errors.rb
- lib/apipie/rspec/response_validation_helper.rb
- spec/controllers/users_controller_spec.rb
- spec/dummy/app/controllers/twitter_example_controller.rb
- spec/dummy/config/initializers/secret_token.rb
- spec/lib/application_spec.rb
- spec/lib/param_description_spec.rb
- spec/lib/swagger/response_validation_spec.rb
- spec/spec_helper.rb
Naming/PredicateName:
AllowedMethods:
- have_field?
Style/NumericPredicate:
Enabled: false