Skip to content

Commit b12414d

Browse files
committed
format
1 parent cb9a0e9 commit b12414d

File tree

340 files changed

+22852
-22856
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

340 files changed

+22852
-22856
lines changed

client/.eslintrc.cjs

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
module.exports = {
2-
root: true,
3-
env: { browser: true, es2020: true },
4-
extends: [
5-
'eslint:recommended',
6-
'plugin:@typescript-eslint/recommended',
7-
'plugin:react-hooks/recommended',
8-
],
9-
ignorePatterns: ['dist', '.eslintrc.cjs'],
10-
parser: '@typescript-eslint/parser',
11-
plugins: ['react-refresh'],
12-
rules: {
13-
'react-refresh/only-export-components': [
14-
'warn',
15-
{ allowConstantExport: true },
16-
],
17-
'@typescript-eslint/no-explicit-any': 'off',
18-
'@typescript-eslint/no-unused-vars': [
19-
'warn', // or "error"
20-
{
21-
argsIgnorePattern: '^_',
22-
varsIgnorePattern: '^_',
23-
caughtErrorsIgnorePattern: '^_',
24-
},
25-
],
26-
'@typescript-eslint/ban-ts-comment': 'off',
27-
'react-refresh/only-export-components': [
28-
'warn',
29-
{ allowExportNames: ['loader'] },
30-
],
31-
},
32-
};
2+
root: true,
3+
env: { browser: true, es2020: true },
4+
extends: [
5+
'eslint:recommended',
6+
'plugin:@typescript-eslint/recommended',
7+
'plugin:react-hooks/recommended',
8+
],
9+
ignorePatterns: ['dist', '.eslintrc.cjs'],
10+
parser: '@typescript-eslint/parser',
11+
plugins: ['react-refresh'],
12+
rules: {
13+
'react-refresh/only-export-components': [
14+
'warn',
15+
{ allowConstantExport: true },
16+
],
17+
'@typescript-eslint/no-explicit-any': 'off',
18+
'@typescript-eslint/no-unused-vars': [
19+
'warn', // or "error"
20+
{
21+
argsIgnorePattern: '^_',
22+
varsIgnorePattern: '^_',
23+
caughtErrorsIgnorePattern: '^_',
24+
},
25+
],
26+
'@typescript-eslint/ban-ts-comment': 'off',
27+
'react-refresh/only-export-components': [
28+
'warn',
29+
{ allowExportNames: ['loader'] },
30+
],
31+
},
32+
}

client/.prettierignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
dist
2+
bot_db
3+
redis
4+
pgadmin
5+
node_modules
6+
build
7+
coverage

client/.prettierrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"trailingComma": "all",
3+
"tabWidth": 2,
4+
"semi": false,
5+
"singleQuote": true,
6+
"jsxSingleQuote": true
7+
}

client/components.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
"components": "@/components",
1515
"utils": "@/lib/utils"
1616
}
17-
}
17+
}

client/index.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<!doctype html>
22
<html lang="vi">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Vite + React + TS</title>
8-
</head>
9-
<body>
10-
<div id="root"></div>
11-
<script type="module" src="/src/main.tsx"></script>
12-
</body>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Vite + React + TS</title>
8+
</head>
9+
<body>
10+
<div id="root"></div>
11+
<script type="module" src="/src/main.tsx"></script>
12+
</body>
1313
</html>

0 commit comments

Comments
 (0)