From d288131a33330c8f2720bed4c1e15ceb43292a9d Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Sun, 10 May 2020 02:42:34 -0400 Subject: [PATCH] Fix lint errors --- .eslintrc.yaml | 6 ++++++ src/node/entry.ts | 2 ++ 2 files changed, 8 insertions(+) diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 06b284bd..e68c237e 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -22,3 +22,9 @@ rules: # For overloads. no-dupe-class-members: off "@typescript-eslint/no-use-before-define": off + +settings: + # Does not work with CommonJS unfortunately. + import/ignore: + - env-paths + - xdg-basedir diff --git a/src/node/entry.ts b/src/node/entry.ts index 8ff9463a..85710462 100644 --- a/src/node/entry.ts +++ b/src/node/entry.ts @@ -35,7 +35,9 @@ const main = async (args: Args): Promise => { args = await readConfigFile(args) if (args.verbose === true) { + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion logger.info(`Using extensions-dir at ${uxPath(args["extensions-dir"]!)}`) + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion logger.info(`Using user-data-dir at ${uxPath(args["user-data-dir"]!)}`) }