Skip to content

Commit 7ed27bb

Browse files
committed
Major Update
- Sign up page added - TanStack Query added - Legacy Components removed - Components refactored - Dependencies Updated - checkUserAuth fixed -
1 parent 29816b9 commit 7ed27bb

29 files changed

+967
-342
lines changed

client/.eslintrc.cjs

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module.exports = {
55
"eslint:recommended",
66
"plugin:@typescript-eslint/recommended",
77
"plugin:react-hooks/recommended",
8+
"plugin:@tanstack/eslint-plugin-query/recommended",
89
],
910
ignorePatterns: ["dist", ".eslintrc.cjs"],
1011
parser: "@typescript-eslint/parser",
@@ -16,5 +17,8 @@ module.exports = {
1617
],
1718
"react-hooks/rules-of-hooks": "error",
1819
"react-hooks/exhaustive-deps": "warn",
20+
"@tanstack/query/exhaustive-deps": "error",
21+
"@tanstack/query/no-rest-destructuring": "warn",
22+
"@tanstack/query/stable-query-client": "error",
1923
},
2024
};

client/.eslintrc.json

+10-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
"plugin:@typescript-eslint/recommended",
99
"plugin:react/recommended",
1010
"prettier",
11-
"prettier-plugin-tailwindcss"
11+
"prettier-plugin-tailwindcss",
12+
"plugin:@tanstack/eslint-plugin-query/recommended",
13+
"plugin:simple-import-sort"
1214
],
1315
"parser": "@typescript-eslint/parser",
1416
"parserOptions": {
@@ -17,7 +19,13 @@
1719
},
1820
"plugins": ["@typescript-eslint", "react"],
1921
"rules": {
22+
"react-refresh/only-export-components": "warn",
2023
"react-hooks/rules-of-hooks": "error",
21-
"react-hooks/exhaustive-deps": "warn"
24+
"react-hooks/exhaustive-deps": "warn",
25+
"@tanstack/query/exhaustive-deps": "error",
26+
"@tanstack/query/no-rest-destructuring": "warn",
27+
"@tanstack/query/stable-query-client": "error",
28+
"simple-import-sort/imports": "error",
29+
"simple-import-sort/exports": "error"
2230
}
2331
}

0 commit comments

Comments
 (0)