Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit 85e8f2a

Browse files
committed
Merge branch 'v3.0'
2 parents dc0a154 + e36de60 commit 85e8f2a

File tree

26 files changed

+483
-13846
lines changed

26 files changed

+483
-13846
lines changed

front/.eslintrc.js

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -16,48 +16,4 @@ module.exports = {
1616
parserOptions: {
1717
parser: 'babel-eslint'
1818
}
19-
/*
20-
rules: {
21-
"prettier/prettier": [
22-
"error",
23-
{
24-
singleQuote: true,
25-
semi: false,
26-
parser: "flow"
27-
}
28-
]
29-
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
30-
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
31-
"no-alert": process.env.NODE_ENV === "production" ? "error" : "off",
32-
//强制使用单引号
33-
quotes: [2, "single"],
34-
//禁止给const变量赋值
35-
"no-const-assign": "error",
36-
//不能对var声明的变量使用delete操作符
37-
"no-delete-var": "error",
38-
//在创建对象字面量时不允许键重复 {a:1,a:1}
39-
"no-dupe-keys": "error",
40-
//函数参数不能重复
41-
"no-dupe-args": "error",
42-
//禁止使用eval
43-
"no-eval": "error",
44-
//禁止使用隐式eval
45-
"no-implied-eval": "error",
46-
//禁止不必要的分号
47-
"no-extra-semi": "error",
48-
//switch中的case标签不能重复
49-
"no-duplicate-case": "error",
50-
// 禁止 for 循环出现方向错误的循环,比如 for (i = 0; i < 10; i--)
51-
"for-direction": "error",
52-
//禁止混用tab和空格
53-
"no-mixed-spaces-and-tabs": [2, false],
54-
// 禁止将常量作为 if, for, while 里的测试条件,比如 if (true), for (;;),除非循环内部有 break 语句
55-
"no-constant-condition": [
56-
"error",
57-
{
58-
checkLoops: false
59-
}
60-
]
61-
},
62-
*/
6319
}

front/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ yarn-error.log*
2222

2323
.vscode/*
2424
!.vscode/settings.json
25+
26+
package-lock.json

0 commit comments

Comments
 (0)