lint: Use node config for tests/frontend/travis, tests/ratelimit

The files in these directories contain test drivers, not tests.
pull/4697/head
Richard Hansen 2021-02-01 14:43:09 -05:00 committed by John McLear
parent 9987fab574
commit 759e2aaec3
1 changed files with 11 additions and 2 deletions

View File

@ -39,7 +39,9 @@
"tests/**/*"
],
"excludedFiles": [
"**/.eslintrc.js"
"**/.eslintrc.js",
"tests/frontend/travis/**/*",
"tests/ratelimit/**/*"
],
"extends": "etherpad/tests",
"rules": {
@ -75,7 +77,8 @@
"tests/frontend/**/*"
],
"excludedFiles": [
"**/.eslintrc.js"
"**/.eslintrc.js",
"tests/frontend/travis/**/*"
],
"extends": "etherpad/tests/frontend",
"overrides": [
@ -92,6 +95,12 @@
}
}
]
},
{
"files": [
"tests/frontend/travis/**/*"
],
"extends": "etherpad/node"
}
],
"root": true