Skip to content

Commit bf230b6

Browse files
committed
Fix testing QA
1 parent 5b3ee1a commit bf230b6

3 files changed

Lines changed: 20 additions & 10 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"build": "tsc --outDir build && ncc -m build -o dist ./index.ts",
2929
"prettify": "prettier --write src/**/*.ts index.ts",
3030
"lint": "eslint ./src --ext .ts",
31-
"lint:test": "eslint ./tests --ext .ts",
31+
"lint:test": "eslint --config ./tests/.eslintrc.json ./tests --ext .ts",
3232
"prepare": "husky",
3333
"test": "jest --config ./tests/jest.config.ts",
3434
"qa": "yarn lint && yarn lint:test && yarn test"

tests/.eslintrc.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/.eslintrc.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"extends": [
3+
"../.eslintrc.json"
4+
],
5+
"parserOptions": {
6+
"project": true,
7+
"tsconfigRootDir": "./"
8+
},
9+
"overrides": [
10+
{
11+
"files": ["./**/*.ts"],
12+
"rules": {
13+
"@typescript-eslint/unbound-method": "off",
14+
"@typescript-eslint/require-await": "off",
15+
"@typescript-eslint/no-floating-promises": "off"
16+
}
17+
}
18+
]
19+
}

0 commit comments

Comments
 (0)