26 lines
498 B
YAML
26 lines
498 B
YAML
env:
|
|
mocha: true
|
|
|
|
extends:
|
|
- plugin:mocha/recommended
|
|
|
|
plugins:
|
|
- mocha
|
|
- n
|
|
|
|
rules:
|
|
n/no-unpublished-require: off
|
|
|
|
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
|
|
mocha/no-setup-in-describe: off
|
|
mocha/no-hooks-for-single-case: off
|
|
|
|
no-console: off # ¯\_(ツ)_/¯
|