Skip to content

Commit

Permalink
fix: lint and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianOsipiuk committed Jul 26, 2022
1 parent 050870c commit c8f8b3b
Show file tree
Hide file tree
Showing 14 changed files with 96 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/query-async-storage-persister/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parserOptions": {
"project": "./tsconfig.json",
"project": "./tsconfig.lint.json",
"sourceType": "module"
}
}
14 changes: 14 additions & 0 deletions packages/query-async-storage-persister/tsconfig.lint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"composite": true,
"rootDir": "./src",
"outDir": "./build/lib",
"tsBuildInfoFile": "./build/.tsbuildinfo"
},
"include": ["src"],
"references": [
{ "path": "../query-core" },
{ "path": "../react-query-persist-client" }
]
}
2 changes: 1 addition & 1 deletion packages/query-broadcast-client-experimental/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parserOptions": {
"project": "./tsconfig.json",
"project": "./tsconfig.lint.json",
"sourceType": "module"
}
}
11 changes: 11 additions & 0 deletions packages/query-broadcast-client-experimental/tsconfig.lint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"composite": true,
"rootDir": "./src",
"outDir": "./build/lib",
"tsBuildInfoFile": "./build/.tsbuildinfo"
},
"include": ["src"],
"references": [{ "path": "../query-core" }]
}
2 changes: 1 addition & 1 deletion packages/query-core/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parserOptions": {
"project": "./tsconfig.json",
"project": "./tsconfig.lint.json",
"sourceType": "module"
}
}
10 changes: 10 additions & 0 deletions packages/query-core/tsconfig.lint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"composite": true,
"rootDir": "./src",
"outDir": "./build/lib",
"tsBuildInfoFile": "./build/.tsbuildinfo"
},
"include": ["src"]
}
2 changes: 1 addition & 1 deletion packages/query-sync-storage-persister/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parserOptions": {
"project": "./tsconfig.json",
"project": "./tsconfig.lint.json",
"sourceType": "module"
}
}
13 changes: 13 additions & 0 deletions packages/query-sync-storage-persister/tsconfig.lint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"composite": true,
"rootDir": "./src",
"outDir": "./build/lib",
"tsBuildInfoFile": "./build/.tsbuildinfo"
},
"include": ["src"],
"references": [
{ "path": "../react-query-persist-client" }
]
}
2 changes: 1 addition & 1 deletion packages/react-query-devtools/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parserOptions": {
"project": "./tsconfig.json",
"project": "./tsconfig.lint.json",
"sourceType": "module"
}
}
14 changes: 14 additions & 0 deletions packages/react-query-devtools/tsconfig.lint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"composite": true,
"rootDir": "./src",
"outDir": "./build/lib",
"tsBuildInfoFile": "./build/.tsbuildinfo"
},
"include": ["src"],
"references": [
{ "path": "../query-core" },
{ "path": "../react-query-persist-client" }
]
}
2 changes: 1 addition & 1 deletion packages/react-query-persist-client/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parserOptions": {
"project": "./tsconfig.json",
"project": "./tsconfig.lint.json",
"sourceType": "module"
}
}
14 changes: 14 additions & 0 deletions packages/react-query-persist-client/tsconfig.lint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"composite": true,
"rootDir": "./src",
"outDir": "./build/lib",
"tsBuildInfoFile": "./build/.tsbuildinfo"
},
"include": ["src"],
"references": [
{ "path": "../query-core" },
{ "path": "../react-query" }
]
}
2 changes: 1 addition & 1 deletion packages/react-query/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parserOptions": {
"project": "./tsconfig.json",
"project": "./tsconfig.lint.json",
"sourceType": "module"
}
}
13 changes: 13 additions & 0 deletions packages/react-query/tsconfig.lint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"composite": true,
"rootDir": "./src",
"outDir": "./build/lib",
"tsBuildInfoFile": "./build/.tsbuildinfo"
},
"include": ["src"],
"references": [
{ "path": "../query-core" }
]
}

0 comments on commit c8f8b3b

Please sign in to comment.