Browse Source

Turns off unneeded eslint rule

main
Eric Amodio 2 years ago
parent
commit
09dd1d2dd9
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      .eslintrc.base.json
  2. +0
    -1
      src/test/suite/index.ts

+ 1
- 1
.eslintrc.base.json View File

@ -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 View File

@ -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…
Cancel
Save