mirror of
https://github.com/danog/code-server.git
synced 2024-11-30 04:39:46 +01:00
Fix lint errors
This commit is contained in:
parent
e02d94ad2f
commit
d288131a33
@ -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
|
||||
|
@ -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"]!)}`)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user