Fix a bunch of ESLint and HTMLLint errors
This commit is contained in:
parent
99d7196799
commit
74c41897ad
11 changed files with 669 additions and 806 deletions
21
test/.eslintrc.yml
Normal file
21
test/.eslintrc.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue