Commit daadaee9 by 无尘

feat: 增加部分路由配置

parent 16a5aca4
...@@ -123,12 +123,12 @@ module.exports = { ...@@ -123,12 +123,12 @@ module.exports = {
], ],
// 定义过的变量必须使用 【正规应该是这样的,具体可以大家讨论】 // 定义过的变量必须使用 【正规应该是这样的,具体可以大家讨论】
"no-unused-vars": [ "no-unused-vars": [
1, 2,
{ {
vars: "local", vars: "all",
args: "none", args: "none",
caughtErrors: "none", caughtErrors: "none",
ignoreRestSiblings: false ignoreRestSiblings: true
} }
], ],
// 变量必须先定义后使用 【ps:涉及到es6存在不允许变量提升的问题,以免引起意想不到的错误,具体可以大家讨论】 // 变量必须先定义后使用 【ps:涉及到es6存在不允许变量提升的问题,以免引起意想不到的错误,具体可以大家讨论】
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment