浏览代码

Adds type import consistency rule

main
Eric Amodio 1年前
父节点
当前提交
17f8d45341
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      .eslintrc.base.json

+ 2
- 1
.eslintrc.base.json 查看文件

@ -154,12 +154,13 @@
}
],
"yoda": "error",
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
"import/extensions": ["error", "never"],
"import/newline-after-import": "warn",
"import/no-absolute-path": "error",
"import/no-cycle": "off",
"import/no-default-export": "error",
"import/no-duplicates": "error",
"import/no-duplicates": ["error", { "prefer-inline": false }],
"import/no-dynamic-require": "error",
"import/no-self-import": "error",
"import/no-unresolved": ["warn", { "ignore": ["vscode", "@env"] }],

正在加载...
取消
保存