2017-06-20 19:18:14 +00:00
|
|
|
env:
|
|
|
|
mocha: true
|
|
|
|
|
|
|
|
extends:
|
|
|
|
- plugin:mocha/recommended
|
|
|
|
|
|
|
|
plugins:
|
|
|
|
- mocha
|
2022-09-04 10:26:10 +00:00
|
|
|
- node
|
2017-06-20 19:18:14 +00:00
|
|
|
|
|
|
|
rules:
|
2022-09-04 10:26:10 +00:00
|
|
|
node/no-unpublished-require: off
|
2017-06-20 19:18:14 +00:00
|
|
|
|
|
|
|
mocha/handle-done-callback: error
|
|
|
|
mocha/no-exclusive-tests: error
|
|
|
|
mocha/no-identical-title: warn
|
|
|
|
mocha/no-mocha-arrows: error
|
|
|
|
mocha/no-nested-tests: error
|
|
|
|
mocha/no-pending-tests: error
|
|
|
|
mocha/no-return-and-callback: warn
|
|
|
|
mocha/no-skipped-tests: error
|
2019-08-02 19:03:53 +00:00
|
|
|
mocha/no-setup-in-describe: off
|
|
|
|
mocha/no-hooks-for-single-case: off
|
2017-07-23 07:06:24 +00:00
|
|
|
|
|
|
|
no-console: off # ¯\_(ツ)_/¯
|