浏览代码

Turns off unneeded eslint rule

main
Eric Amodio 2 年前
父节点
当前提交
09dd1d2dd9
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. +1
    -1
      .eslintrc.base.json
  2. +0
    -1
      src/test/suite/index.ts

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

@ -25,7 +25,7 @@
"anti-trojan-source/no-bidi": "error",
"arrow-parens": ["off"],
"brace-style": ["off", "stroustrup"],
"consistent-return": "error",
"consistent-return": "off",
"curly": ["error", "multi-line", "consistent"],
"eol-last": "error",
"linebreak-style": ["error", "unix"],

+ 0
- 1
src/test/suite/index.ts 查看文件

@ -12,7 +12,6 @@ export function run(): Promise {
const testsRoot = path.resolve(__dirname, '..');
return new Promise((c, e) => {
// eslint-disable-next-line consistent-return
glob('**/**.test.js', { cwd: testsRoot }, (err, files) => {
if (err != null) {
return e(err);

正在加载...
取消
保存