mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2025-09-02 05:09:51 +08:00
修改部分 eslint 规则
This commit is contained in:
parent
660311a7ec
commit
dab763cf08
@ -12,3 +12,4 @@ vite-env.*
|
||||
visualizer.*
|
||||
visualizer.html
|
||||
.env.*
|
||||
src/locales/lang
|
@ -103,6 +103,7 @@ module.exports = {
|
||||
allowShortCircuit: true,
|
||||
allowTernary: true,
|
||||
allowTaggedTemplates: true,
|
||||
enforceForJSX: true,
|
||||
},
|
||||
], // 禁止无用的表达式
|
||||
'no-useless-call': 2, // 禁止不必要的 `call` 和 `apply`
|
||||
|
Loading…
x
Reference in New Issue
Block a user