mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-03 12:29:14 +08:00
!216 fix: eclint配置修改,解决换行错误
Merge pull request !216 from a20070322/issues/I94SPA
This commit is contained in:
commit
3945b3eeff
@ -28,6 +28,8 @@
|
|||||||
// 禁止使用 var,而应该用 let 或 const
|
// 禁止使用 var,而应该用 let 或 const
|
||||||
"no-var": "error",
|
"no-var": "error",
|
||||||
"@typescript-eslint/no-unused-vars": ["error", { "args": "none" }],
|
"@typescript-eslint/no-unused-vars": ["error", { "args": "none" }],
|
||||||
"vue/multi-word-component-names": "off"
|
"vue/multi-word-component-names": "off",
|
||||||
|
// 处理换行
|
||||||
|
"endOfLine": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"semi": false,
|
"semi": false,
|
||||||
"singleQuote": true,
|
"singleQuote": true,
|
||||||
"endOfLine": "lf",
|
"endOfLine": "auto",
|
||||||
"proseWrap": "never",
|
"proseWrap": "never",
|
||||||
"printWidth": 120,
|
"printWidth": 120,
|
||||||
"trailingComma": "none"
|
"trailingComma": "none"
|
||||||
|
Loading…
Reference in New Issue
Block a user