test upload file to server
This commit is contained in:
parent
16e0e4f9d8
commit
aaa60216b2
43 changed files with 1814 additions and 285 deletions
|
|
@ -1,9 +1,9 @@
|
|||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
"es2021": true,
|
||||
"node": true,
|
||||
"browser": false
|
||||
es2021: true,
|
||||
node: true,
|
||||
browser: false
|
||||
},
|
||||
extends: [
|
||||
'eslint:recommended',
|
||||
|
|
@ -11,23 +11,16 @@ module.exports = {
|
|||
'plugin:react-hooks/recommended',
|
||||
'prettier'
|
||||
],
|
||||
ignorePatterns: [
|
||||
"types/env.d.ts",
|
||||
"node_modules/**",
|
||||
"**/dist/**",
|
||||
],
|
||||
ignorePatterns: ['types/env.d.ts', 'node_modules/**', '**/dist/**', 'scr/components/ui/**'],
|
||||
parser: '@typescript-eslint/parser',
|
||||
parserOptions: {
|
||||
ecmaVersion: 12,
|
||||
sourceType: 'module',
|
||||
sourceType: 'module'
|
||||
},
|
||||
plugins: ['react-refresh', '@typescript-eslint', '@tanstack/eslint-plugin-query'],
|
||||
rules: {
|
||||
'react-refresh/only-export-components': [
|
||||
'warn',
|
||||
{ allowConstantExport: true },
|
||||
],
|
||||
"@typescript-eslint/consistent-type-imports": "error",
|
||||
"react-hooks/exhaustive-deps": "off",
|
||||
},
|
||||
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
|
||||
'@typescript-eslint/consistent-type-imports': 'error',
|
||||
'react-hooks/exhaustive-deps': 'off'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue