mirror of https://github.com/mastodon/mastodon
Use explicit config loading from `bin/rubocop` (#33256)
parent
ecdf4ea062
commit
c68eb82ffa
@ -1,16 +0,0 @@
|
|||||||
inherit_from: ../../.rubocop.yml
|
|
||||||
|
|
||||||
# Below are all enabled as workaround for https://docs.rubocop.org/rubocop/configuration.html#path-relativity
|
|
||||||
# TODO: Delete this file and move above config to base naming config
|
|
||||||
|
|
||||||
Rails/CreateTableWithTimestamps:
|
|
||||||
Include:
|
|
||||||
- '*.rb'
|
|
||||||
|
|
||||||
Rails/ThreeStateBooleanColumn:
|
|
||||||
Include:
|
|
||||||
- '*.rb'
|
|
||||||
|
|
||||||
Rails/ReversibleMigration:
|
|
||||||
Include:
|
|
||||||
- '*.rb'
|
|
@ -1,6 +0,0 @@
|
|||||||
inherit_from: ../../.rubocop.yml
|
|
||||||
|
|
||||||
# Anonymous controllers in specs cannot access `described_class`, explanation:
|
|
||||||
# https://github.com/rubocop/rubocop-rspec/blob/v2.26.1/lib/rubocop/cop/rspec/described_class.rb#L36-L56
|
|
||||||
RSpec/DescribedClass:
|
|
||||||
SkipBlocks: true
|
|
Loading…
Reference in New Issue