25 lines
504 B
YAML
25 lines
504 B
YAML
env:
|
|
mocha: true
|
|
|
|
extends:
|
|
- plugin:mocha/recommended
|
|
|
|
plugins:
|
|
- mocha
|
|
- node
|
|
|
|
rules:
|
|
node/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 # ¯\_(ツ)_/¯
|