just disable rubocop metrics

they make our rubocop SnR waaaay too bad right now that we ignore everything

Change-Id: Ie0145be67ee5aec54692f4c463f2bd2c2ab41518
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/260505
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
This commit is contained in:
Cody Cutrer 2021-03-11 15:54:03 -07:00
parent 2068636f62
commit 88243a9219
1 changed files with 3 additions and 21 deletions

View File

@ -240,28 +240,10 @@ Rails/HttpPositionalArguments:
Performance/RegexpMatch:
Enabled: false
# Things we may want to tighten down later
Metrics/AbcSize:
# SnR is just too low to have this enabled
Metrics:
Enabled: false
Metrics/LineLength:
Max: 160
Metrics/MethodLength:
Max: 100
Metrics/ClassLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Metrics/BlockLength:
Max: 50
Exclude:
- gems/*/spec/**/*.rb
- gems/plugins/*/spec_canvas/**/*.rb
- spec/**/*.rb
- pact/spec/**/*_spec.rb
Metrics/CyclomaticComplexity:
Max: 28
Metrics/PerceivedComplexity:
Max: 28
RSpec/InstanceVariable:
Enabled: false
RSpec/ExampleWording: