mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-20 01:12:38 +01:00
Lint Mocha tests too (#3824)
This commit is contained in:
parent
087da6407d
commit
f8f45cab70
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"root": true,
|
||||||
"env": {
|
"env": {
|
||||||
"es2021": true,
|
"es2021": true,
|
||||||
"node": true
|
"node": true
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "node build.js",
|
"build": "node build.js",
|
||||||
"lint": "eslint js/ *.js",
|
"lint": "eslint js/ *.js tests/",
|
||||||
"test": "node test.js --mocha"
|
"test": "node test.js --mocha"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
5
platform/npm/tests/.eslintrc.json
Normal file
5
platform/npm/tests/.eslintrc.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"env": {
|
||||||
|
"mocha": true
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user