mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-04-06 03:57:54 +08:00
add a eslint Comment
Signed-off-by: Coffee-crocodile <1147347984@qq.com>
This commit is contained in:
parent
139e4c65ee
commit
942d6edf7b
@ -27,6 +27,7 @@ module.exports = { //https://eslint.org/docs/latest/
|
|||||||
'@vue/typescript/recommended'
|
'@vue/typescript/recommended'
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {
|
||||||
|
// TSESLint docs https://typescript-eslint.io/rules/
|
||||||
'no-var': 'error', // 禁止使用var
|
'no-var': 'error', // 禁止使用var
|
||||||
'no-console': 'warn', // 禁止出现console
|
'no-console': 'warn', // 禁止出现console
|
||||||
"no-debugger": "off", // 关闭debugger警告
|
"no-debugger": "off", // 关闭debugger警告
|
||||||
|
Loading…
x
Reference in New Issue
Block a user