[eslint] Modify function linting for specs

Test Plan:
  - You should be able to use `function () {}` as a
    callback in a test.
  - You should be able to do the same without a function name
    warning showing

Change-Id: Ie6b7dcdc380f3b26bd6f3d8e0816f40016afc494
Reviewed-on: https://gerrit.instructure.com/98165
Tested-by: Jenkins
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Product-Review: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Clay Diffrient <cdiffrient@instructure.com>
This commit is contained in:
Clay Diffrient 2016-12-20 12:04:37 -07:00
parent 4f0e8f08ba
commit 555cdba26a
1 changed files with 4 additions and 0 deletions

View File

@ -9,5 +9,9 @@
"ok": true,
"sinon": true,
"deepEqual": true
},
"rules": {
"func-names": ["off"],
"prefer-arrow-callback": ["off"]
}
}