mirror of https://github.com/coder/code-server.git
Fix lint errors
This commit is contained in:
parent
e02d94ad2f
commit
d288131a33
|
@ -22,3 +22,9 @@ rules:
|
||||||
# For overloads.
|
# For overloads.
|
||||||
no-dupe-class-members: off
|
no-dupe-class-members: off
|
||||||
"@typescript-eslint/no-use-before-define": 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)
|
args = await readConfigFile(args)
|
||||||
|
|
||||||
if (args.verbose === true) {
|
if (args.verbose === true) {
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||||
logger.info(`Using extensions-dir at ${uxPath(args["extensions-dir"]!)}`)
|
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"]!)}`)
|
logger.info(`Using user-data-dir at ${uxPath(args["user-data-dir"]!)}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue