forked from lobsters/lobsters
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.standard.yml
More file actions
25 lines (23 loc) · 872 Bytes
/
.standard.yml
File metadata and controls
25 lines (23 loc) · 872 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
ignore:
- '**/*':
# there's no "don't delete these records or shit will be on fire" option,
# just various "sure automatically destroy lots of data yolo" options
- Rails/HasManyOrHasOneDependent
# is a multimaster db while needing microsecond accurate sorting really 'standard'
- Rails/OrderById
# joins/extracted data doesn't need a timestamp
- Rails/CreateTableWithTimestamps
# migrations are not live code
- 'db/migrate/201*'
- 'db/migrate/2020*'
- 'db/migrate/2022*'
- 'db/migrate/202309*'
plugins:
- standard-performance
- standard-rails
# Needs to be packaged as a plugin https://github.com/standardrb/standard#user-content-plugins
# - use_form_with:
# require_path: extras/prohibit_form_for_and_form_tag
# plugin_class_name: RuboCop::Cop::Style::DisallowFormForandFormTag
extend_config:
- .custom_cops.yml