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:
Derek Bender 2018-02-08 09:26:27 -06:00
parent 55646953a1
commit 7bb338239b
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,3 @@
/gems/canvas_i18nliner /gems/canvas_i18nliner
/doc/ /doc/
/public/javascript/translations/_core_en.js /public/javascripts/translations/_core_en.js

View File

@ -163,6 +163,9 @@ Rails/HasManyOrHasOneDependent:
# Lint changes # Lint changes
Lint/AmbiguousRegexpLiteral: Lint/AmbiguousRegexpLiteral:
Severity: convention Severity: convention
Lint/AmbiguousBlockAssociation:
Exclude:
- "spec/**/*"
Lint/UselessAssignment: Lint/UselessAssignment:
Severity: convention Severity: convention
Lint/Debugger: Lint/Debugger: