NXP-32655: add lint & format setup #79
Annotations
10 errors and 11 warnings
lint:
src/app/app.component.spec.ts#L22
Unexpected empty method 'set'
|
lint:
src/app/app.component.spec.ts#L26
Don't use `Boolean` as a type. Use boolean instead
|
lint:
src/app/app.component.spec.ts#L54
'loadAppSubscriptionSpy' is never reassigned. Use 'const' instead
|
lint:
src/app/app.component.ts#L14
Don't use `Boolean` as a type. Use boolean instead
|
lint:
src/app/features/warning/warning.component.spec.ts#L22
Unexpected empty method 'set'
|
lint:
src/app/features/warning/warning.component.spec.ts#L26
Don't use `Boolean` as a type. Use boolean instead
|
lint:
src/app/features/warning/warning.component.ts#L13
Type boolean trivially inferred from a boolean literal, remove type annotation
|
lint:
src/app/shared/components/backendErrorMessages/backendErrorMessages.component.ts#L8
Component class names should end with one of these suffixes: "Component" (https://angular.io/styleguide#style-02-03)
|
lint:
src/app/shared/services/common.service.spec.ts#L18
Don't use `Boolean` as a type. Use boolean instead
|
lint:
src/app/shared/services/common.service.ts#L7
Don't use `Boolean` as a type. Use boolean instead
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint:
src/app/auth/components/SSO/hylandSSOManager.component.ts#L31
Lifecycle interface 'OnInit' should be implemented for method 'ngOnInit'. (https://angular.io/styleguide#style-09-01)
|
lint:
src/app/auth/services/auth-interceptor.service.ts#L16
Unexpected any. Specify a different type
|
lint:
src/app/auth/services/auth-interceptor.service.ts#L18
Unexpected any. Specify a different type
|
lint:
src/app/auth/services/auth-interceptor.service.ts#L19
'token' is assigned a value but never used
|
lint:
src/app/features/home/components/registration-version/registration-version.component.ts#L15
Unexpected any. Specify a different type
|
lint:
src/app/features/home/store/actions.ts#L11
Unexpected any. Specify a different type
|
lint:
src/app/features/home/store/reducers.ts#L9
Unexpected any. Specify a different type
|
lint:
src/app/shared/services/persistence.service.spec.ts#L6
'getItemSpy' is defined but never used
|
lint:
src/app/shared/services/persistence.service.spec.ts#L19
Unexpected any. Specify a different type
|