-
Notifications
You must be signed in to change notification settings - Fork 18
/
.rubocop.yml
35 lines (29 loc) · 1008 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
---
inherit_from: .rubocop_todo.yml
require:
- rubocop-rails
- rubocop-minitest
- rubocop-performance
AllCops:
NewCops: enable
Naming/InclusiveLanguage:
Exclude:
- config/environments/development.rb # Bullet uses whitelist :(
# Not gonna rewrite all our tests...
Minitest/MultipleAssertions:
Enabled: false
Rails/ActionControllerTestCase:
Enabled: false
# Ignore for existing migrations
Rails/CreateTableWithTimestamps:
Exclude:
- 'db/migrate/20150930143851_create_tables.rb'
- 'db/migrate/20151105101420_create_sectors_and_services.rb'
- 'db/migrate/20160919101807_add_daily_plannings.rb'
- 'db/migrate/20160929150008_create_custom_lists.rb'
- 'db/migrate/20170321095600_employee_master_data.rb'
- 'db/migrate/20170724095653_create_additional_crm_orders.rb'
- 'db/migrate/20190204150125_add_expenses.rb'
- 'db/migrate/20220322152042_create_workplaces.rb'
- 'db/migrate/20230207231358_create_active_storage_variant_records.active_storage.rb'
...