Archived
1
0

Fix lint errors

This commit is contained in:
Anmol Sethi 2020-05-10 02:42:34 -04:00
parent e02d94ad2f
commit d288131a33
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB
2 changed files with 8 additions and 0 deletions

View File

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

View File

@ -35,7 +35,9 @@ const main = async (args: Args): Promise<void> => {
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"]!)}`)
}