Skip to content

Commit

Permalink
[DEV] Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jomshir98 committed Apr 20, 2024
1 parent 20f264f commit 4759414
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
7 changes: 6 additions & 1 deletion pandora-client-web/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
{
"files": ["*.ts", "*.tsx"],
"parserOptions": {
"project": ["./tsconfig.json", "./test/tsconfig.json", "./tsconfig.webpack.json"],
"project": [
"./tsconfig.json",
"./test/tsconfig.json",
"./test/tsconfig.setup.json",
"./tsconfig.webpack.json"
],
"sourceType": "module"
},
"rules": {
Expand Down
4 changes: 3 additions & 1 deletion pandora-client-web/test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
"include": [
"../src/**/*.d.ts",
"../src/**/*.ts",
"./**/*.ts"
"../src/**/*.tsx",
"./**/*.ts",
"./**/*.tsx"
],
"exclude": [
"./setup.ts"
Expand Down
19 changes: 19 additions & 0 deletions pandora-client-web/test/tsconfig.setup.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"extends": "pandora-common/tsconfig.base.json",
"compilerOptions": {
"lib": [
"ESNext",
"DOM"
],
"types": [
"@types/jest",
"@testing-library/jest-dom",
"@types/node",
"offscreencanvas"
],
"jsx": "react"
},
"include": [
"./setup.ts"
]
}

0 comments on commit 4759414

Please sign in to comment.