2017-06-20 21:18:14 +02:00
|
|
|
env:
|
|
|
|
mocha: true
|
|
|
|
|
|
|
|
extends:
|
|
|
|
- plugin:mocha/recommended
|
|
|
|
|
|
|
|
plugins:
|
|
|
|
- mocha
|
2022-09-04 12:26:10 +02:00
|
|
|
- node
|
2017-06-20 21:18:14 +02:00
|
|
|
|
|
|
|
rules:
|
2022-09-04 12:26:10 +02:00
|
|
|
node/no-unpublished-require: off
|
2017-06-20 21:18:14 +02: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 21:03:53 +02:00
|
|
|
mocha/no-setup-in-describe: off
|
|
|
|
mocha/no-hooks-for-single-case: off
|
2017-07-23 09:06:24 +02:00
|
|
|
|
|
|
|
no-console: off # ¯\_(ツ)_/¯
|