chore: dependencies
This commit is contained in:
@@ -22,7 +22,8 @@
|
|||||||
// },
|
// },
|
||||||
// ])
|
// ])
|
||||||
|
|
||||||
import antfu from '@antfu/eslint-config';
|
import antfu, { combine } from '@antfu/eslint-config';
|
||||||
|
import tanstackPluginQuery from '@tanstack/eslint-plugin-query';
|
||||||
|
|
||||||
const lintConfig = antfu(
|
const lintConfig = antfu(
|
||||||
{
|
{
|
||||||
@@ -31,6 +32,7 @@ const lintConfig = antfu(
|
|||||||
formatters: true,
|
formatters: true,
|
||||||
ignores: ['**/node_modules', '**/dist'],
|
ignores: ['**/node_modules', '**/dist'],
|
||||||
react: true,
|
react: true,
|
||||||
|
markdown: true,
|
||||||
stylistic: {
|
stylistic: {
|
||||||
indent: 2,
|
indent: 2,
|
||||||
quotes: 'single',
|
quotes: 'single',
|
||||||
@@ -51,13 +53,20 @@ const lintConfig = antfu(
|
|||||||
'style/jsx-quotes': ['error', 'prefer-single'],
|
'style/jsx-quotes': ['error', 'prefer-single'],
|
||||||
'ts/consistent-type-definitions': ['off'],
|
'ts/consistent-type-definitions': ['off'],
|
||||||
'ts/no-empty-object-type': ['off'],
|
'ts/no-empty-object-type': ['off'],
|
||||||
// 'no-console': ['warn'],
|
// 'no-console': ['warn'],
|
||||||
// 'no-restricted-syntax': ['error', {
|
// 'no-restricted-syntax': ['error', {
|
||||||
// selector: 'CallExpression[callee.property.name=\'forEach\'] > :matches(ArrowFunctionExpression, FunctionExpression)[async=true].arguments',
|
// selector: 'CallExpression[callee.property.name=\'forEach\'] > :matches(ArrowFunctionExpression, FunctionExpression)[async=true].arguments',
|
||||||
// message: 'Do not use async functions in .forEach()',
|
// message: 'Do not use async functions in .forEach()',
|
||||||
// }],
|
// }],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
export default lintConfig;
|
export default combine(
|
||||||
|
lintConfig,
|
||||||
|
{
|
||||||
|
plugins: {
|
||||||
|
'@tanstack/query': tanstackPluginQuery,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
"@ant-design/icons": "^5.6.1",
|
"@ant-design/icons": "^5.6.1",
|
||||||
"@ant-design/v5-patch-for-react-19": "^1.0.3",
|
"@ant-design/v5-patch-for-react-19": "^1.0.3",
|
||||||
"@tanstack/react-query": "^5.84.1",
|
"@tanstack/react-query": "^5.84.1",
|
||||||
|
"@tanstack/react-query-devtools": "^5.84.1",
|
||||||
"@tanstack/react-router": "^1.130.9",
|
"@tanstack/react-router": "^1.130.9",
|
||||||
"@tanstack/react-router-devtools": "^1.130.9",
|
"@tanstack/react-router-devtools": "^1.130.9",
|
||||||
"antd": "^5.26.7",
|
"antd": "^5.26.7",
|
||||||
|
|||||||
20
pnpm-lock.yaml
generated
20
pnpm-lock.yaml
generated
@@ -17,6 +17,9 @@ importers:
|
|||||||
'@tanstack/react-query':
|
'@tanstack/react-query':
|
||||||
specifier: ^5.84.1
|
specifier: ^5.84.1
|
||||||
version: 5.84.1(react@19.1.1)
|
version: 5.84.1(react@19.1.1)
|
||||||
|
'@tanstack/react-query-devtools':
|
||||||
|
specifier: ^5.84.1
|
||||||
|
version: 5.84.1(@tanstack/react-query@5.84.1(react@19.1.1))(react@19.1.1)
|
||||||
'@tanstack/react-router':
|
'@tanstack/react-router':
|
||||||
specifier: ^1.130.9
|
specifier: ^1.130.9
|
||||||
version: 1.130.9(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
|
version: 1.130.9(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
|
||||||
@@ -876,6 +879,15 @@ packages:
|
|||||||
'@tanstack/query-core@5.83.1':
|
'@tanstack/query-core@5.83.1':
|
||||||
resolution: {integrity: sha512-OG69LQgT7jSp+5pPuCfzltq/+7l2xoweggjme9vlbCPa/d7D7zaqv5vN/S82SzSYZ4EDLTxNO1PWrv49RAS64Q==}
|
resolution: {integrity: sha512-OG69LQgT7jSp+5pPuCfzltq/+7l2xoweggjme9vlbCPa/d7D7zaqv5vN/S82SzSYZ4EDLTxNO1PWrv49RAS64Q==}
|
||||||
|
|
||||||
|
'@tanstack/query-devtools@5.84.0':
|
||||||
|
resolution: {integrity: sha512-fbF3n+z1rqhvd9EoGp5knHkv3p5B2Zml1yNRjh7sNXklngYI5RVIWUrUjZ1RIcEoscarUb0+bOvIs5x9dwzOXQ==}
|
||||||
|
|
||||||
|
'@tanstack/react-query-devtools@5.84.1':
|
||||||
|
resolution: {integrity: sha512-nle+OQ9B3Z3EG2R3ixvaNcJ6OeqGwmAc5iMDW6Vj+emLZkWRrN3BDsrzZQu414n34lpxplnC7z1jmKuU/scHCQ==}
|
||||||
|
peerDependencies:
|
||||||
|
'@tanstack/react-query': ^5.84.1
|
||||||
|
react: ^18 || ^19
|
||||||
|
|
||||||
'@tanstack/react-query@5.84.1':
|
'@tanstack/react-query@5.84.1':
|
||||||
resolution: {integrity: sha512-zo7EUygcWJMQfFNWDSG7CBhy8irje/XY0RDVKKV4IQJAysb+ZJkkJPcnQi+KboyGUgT+SQebRFoTqLuTtfoDLw==}
|
resolution: {integrity: sha512-zo7EUygcWJMQfFNWDSG7CBhy8irje/XY0RDVKKV4IQJAysb+ZJkkJPcnQi+KboyGUgT+SQebRFoTqLuTtfoDLw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -3738,6 +3750,14 @@ snapshots:
|
|||||||
|
|
||||||
'@tanstack/query-core@5.83.1': {}
|
'@tanstack/query-core@5.83.1': {}
|
||||||
|
|
||||||
|
'@tanstack/query-devtools@5.84.0': {}
|
||||||
|
|
||||||
|
'@tanstack/react-query-devtools@5.84.1(@tanstack/react-query@5.84.1(react@19.1.1))(react@19.1.1)':
|
||||||
|
dependencies:
|
||||||
|
'@tanstack/query-devtools': 5.84.0
|
||||||
|
'@tanstack/react-query': 5.84.1(react@19.1.1)
|
||||||
|
react: 19.1.1
|
||||||
|
|
||||||
'@tanstack/react-query@5.84.1(react@19.1.1)':
|
'@tanstack/react-query@5.84.1(react@19.1.1)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@tanstack/query-core': 5.83.1
|
'@tanstack/query-core': 5.83.1
|
||||||
|
|||||||
Reference in New Issue
Block a user