ignore AmbiguousBlockAssociation for specs
also fix a typo in .eslintignore caused by cae5d84950
motivation:
https://github.com/bbatsov/rubocop/issues/4222#issuecomment-290655562
this is a deliberate idiom in rspec, so let's update .robocop.yml to
match rubocop's own config
closes: GRADE-841
test plan: specs pass
Change-Id: I534eabe48fb227b6fa7b425502e645f22b1a51f3
Reviewed-on: https://gerrit.instructure.com/140424
Tested-by: Jenkins
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
Product-Review: Derek Bender <djbender@instructure.com>
QA-Review: Derek Bender <djbender@instructure.com>
This commit is contained in:
parent
55646953a1
commit
7bb338239b
|
@ -1,3 +1,3 @@
|
|||
/gems/canvas_i18nliner
|
||||
/doc/
|
||||
/public/javascript/translations/_core_en.js
|
||||
/public/javascripts/translations/_core_en.js
|
||||
|
|
|
@ -163,6 +163,9 @@ Rails/HasManyOrHasOneDependent:
|
|||
# Lint changes
|
||||
Lint/AmbiguousRegexpLiteral:
|
||||
Severity: convention
|
||||
Lint/AmbiguousBlockAssociation:
|
||||
Exclude:
|
||||
- "spec/**/*"
|
||||
Lint/UselessAssignment:
|
||||
Severity: convention
|
||||
Lint/Debugger:
|
||||
|
|
Loading…
Reference in New Issue