瀏覽代碼

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);

Loading…
取消
儲存