Skip to content

Commit

Permalink
Fix testing QA
Browse files Browse the repository at this point in the history
  • Loading branch information
widoz committed Aug 15, 2024
1 parent 5b3ee1a commit bf230b6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"build": "tsc --outDir build && ncc -m build -o dist ./index.ts",
"prettify": "prettier --write src/**/*.ts index.ts",
"lint": "eslint ./src --ext .ts",
"lint:test": "eslint ./tests --ext .ts",
"lint:test": "eslint --config ./tests/.eslintrc.json ./tests --ext .ts",
"prepare": "husky",
"test": "jest --config ./tests/jest.config.ts",
"qa": "yarn lint && yarn lint:test && yarn test"
Expand Down
9 changes: 0 additions & 9 deletions tests/.eslintrc.js

This file was deleted.

19 changes: 19 additions & 0 deletions tests/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"extends": [
"../.eslintrc.json"
],
"parserOptions": {
"project": true,
"tsconfigRootDir": "./"
},
"overrides": [
{
"files": ["./**/*.ts"],
"rules": {
"@typescript-eslint/unbound-method": "off",
"@typescript-eslint/require-await": "off",
"@typescript-eslint/no-floating-promises": "off"
}
}
]
}

0 comments on commit bf230b6

Please sign in to comment.