Check TypeScript for backend #22
Annotations
14 errors and 10 warnings
ci (ubuntu-latest, 20.x):
backend/database.ts#L8
Could not find a declaration file for module 'knex/lib/dialects/sqlite3/index.js'. '/home/runner/work/dockge/dockge/node_modules/.pnpm/[email protected][email protected]/node_modules/knex/lib/dialects/sqlite3/index.js' implicitly has an 'any' type.
|
ci (ubuntu-latest, 20.x):
backend/database.ts#L22
Member 'sqlitePath' implicitly has an 'any' type.
|
ci (ubuntu-latest, 20.x):
backend/database.ts#L73
Parameter 'dbConfig' implicitly has an 'any' type.
|
ci (ubuntu-latest, 20.x):
backend/database.ts#L90
'err' is of type 'unknown'.
|
ci (ubuntu-latest, 20.x):
backend/database.ts#L180
'e' is of type 'unknown'.
|
ci (ubuntu-latest, 20.x):
backend/database.ts#L181
'e' is of type 'unknown'.
|
ci (ubuntu-latest, 20.x):
backend/dockge-server.ts#L132
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
ci (ubuntu-latest, 20.x):
backend/dockge-server.ts#L221
Argument of type 'Bean | null' is not assignable to parameter of type 'User'.
|
ci (ubuntu-latest, 20.x):
backend/dockge-server.ts#L256
'e' is of type 'unknown'.
|
ci (ubuntu-latest, 20.x):
backend/dockge-server.ts#L379
'e' is of type 'unknown'.
|
ci (macos-latest, 20.x)
The job was canceled because "ubuntu-latest_20_x" failed.
|
ci (macos-latest, 20.x)
The operation was canceled.
|
ci (windows-latest, 20.x)
The job was canceled because "ubuntu-latest_20_x" failed.
|
ci (windows-latest, 20.x)
The operation was canceled.
|
ci (ubuntu-latest, 20.x):
backend/log.ts#L6
Identifier 'CONSOLE_STYLE_Reset' is not in camel case
|
ci (ubuntu-latest, 20.x):
backend/log.ts#L7
Identifier 'CONSOLE_STYLE_Bright' is not in camel case
|
ci (ubuntu-latest, 20.x):
backend/log.ts#L8
Identifier 'CONSOLE_STYLE_Dim' is not in camel case
|
ci (ubuntu-latest, 20.x):
backend/log.ts#L9
Identifier 'CONSOLE_STYLE_Underscore' is not in camel case
|
ci (ubuntu-latest, 20.x):
backend/log.ts#L10
Identifier 'CONSOLE_STYLE_Blink' is not in camel case
|
ci (ubuntu-latest, 20.x):
backend/log.ts#L11
Identifier 'CONSOLE_STYLE_Reverse' is not in camel case
|
ci (ubuntu-latest, 20.x):
backend/log.ts#L12
Identifier 'CONSOLE_STYLE_Hidden' is not in camel case
|
ci (ubuntu-latest, 20.x):
backend/log.ts#L14
Identifier 'CONSOLE_STYLE_FgBlack' is not in camel case
|
ci (ubuntu-latest, 20.x):
backend/log.ts#L15
Identifier 'CONSOLE_STYLE_FgRed' is not in camel case
|
ci (ubuntu-latest, 20.x):
backend/log.ts#L16
Identifier 'CONSOLE_STYLE_FgGreen' is not in camel case
|