提交 bb912d5d 作者: 方治民

style: 补充 eslint 规则

上级 413d494a
...@@ -26,6 +26,14 @@ module.exports = { ...@@ -26,6 +26,14 @@ module.exports = {
'@typescript-eslint/no-use-before-define': 'off', '@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/ban-ts-comment': 'off', '@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-non-null-assertion': 'off', '@typescript-eslint/no-non-null-assertion': 'off',
'no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
},
],
'space-before-function-paren': 'off',
'no-alert': 'error', 'no-alert': 'error',
'vue/html-self-closing': 0, 'vue/html-self-closing': 0,
'vue/html-indent': ['error', 4], 'vue/html-indent': ['error', 4],
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论