2023-09-01 23:27:36 +00:00
|
|
|
ignore:
|
2023-12-29 00:35:30 +00:00
|
|
|
- '**/*':
|
|
|
|
# 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
|
2023-09-01 23:27:36 +00:00
|
|
|
# it's mad about the class variables and I don't want to risk the refactor now
|
|
|
|
- 'extras/**/*':
|
|
|
|
- Naming/VariableName
|
2023-12-29 00:35:30 +00:00
|
|
|
# migrations are not live code
|
2023-09-14 13:29:11 +00:00
|
|
|
- 'db/migrate/201*'
|
|
|
|
- 'db/migrate/2020*'
|
2023-12-29 00:35:30 +00:00
|
|
|
- 'db/migrate/2022*'
|
2023-09-14 13:29:11 +00:00
|
|
|
- 'db/migrate/202309*'
|
|
|
|
|
|
|
|
plugins:
|
2023-09-14 13:39:22 +00:00
|
|
|
- standard-performance
|
2023-09-14 13:29:11 +00:00
|
|
|
- standard-rails
|
2023-09-14 13:37:09 +00:00
|
|
|
- standard-sorbet
|
2023-09-14 13:29:11 +00:00
|
|
|
# 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
|