Lint Mocha tests too (#3824)

This commit is contained in:
Manish Jethani 2021-08-15 20:43:13 +05:30 committed by GitHub
parent 087da6407d
commit f8f45cab70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View file

@ -1,4 +1,5 @@
{
"root": true,
"env": {
"es2021": true,
"node": true

View file

@ -6,7 +6,7 @@
"main": "index.js",
"scripts": {
"build": "node build.js",
"lint": "eslint js/ *.js",
"lint": "eslint js/ *.js tests/",
"test": "node test.js --mocha"
},
"repository": {

View file

@ -0,0 +1,5 @@
{
"env": {
"mocha": true
}
}