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

The files in these directories contain test drivers, not tests.
This commit is contained in:
Richard Hansen 2021-02-01 14:43:09 -05:00 committed by John McLear
parent 9987fab574
commit 759e2aaec3

View file

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