Fixed ESLint errors. #33
ci.yml
on: push
ESLint
11s
TypeScript Compiler
10s
Annotations
15 errors and 1 warning
TypeScript Compiler:
background.js#L50
Cannot find name 'browser'.
|
TypeScript Compiler:
background.js#L52
Cannot find name 'browser'.
|
TypeScript Compiler:
background.js#L60
Cannot find name 'browser'.
|
TypeScript Compiler:
background.js#L64
Cannot find name 'browser'.
|
TypeScript Compiler:
background.js#L69
Cannot find name 'browser'.
|
TypeScript Compiler:
background.js#L245
Object is possibly 'undefined'.
|
TypeScript Compiler:
background.js#L245
Expected 1-2 arguments, but got 0.
|
TypeScript Compiler:
background.js#L329
Argument of type 'CryptoKey | undefined' is not assignable to parameter of type 'CryptoKey'.
|
TypeScript Compiler:
background.js#L349
Argument of type 'CryptoKey | undefined' is not assignable to parameter of type 'CryptoKey'.
|
TypeScript Compiler:
background.js#L376
Argument of type 'Uint8Array | null' is not assignable to parameter of type 'Uint8Array'.
|
ESLint:
background.js#L767
Unexpected `await` inside a loop
|
ESLint:
background.js#L769
Unexpected `await` inside a loop
|
ESLint:
background.js#L938
Unexpected `await` inside a loop
|
ESLint:
background.js#L978
Expected to return a value at the end of async arrow function
|
ESLint
Process completed with exit code 1.
|
ESLint:
management/modules/CustomOptionTriggers.js#L55
Arrow function should not return assignment
|