mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
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:
parent
9987fab574
commit
759e2aaec3
1 changed files with 11 additions and 2 deletions
13
package.json
13
package.json
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue