fix: 添加 ESLint 配置并修复所有 lint 错误 #3
Annotations
1 error and 10 warnings
|
Security Audit
Process completed with exit code 1.
|
|
Lint:
src/app/layouts/admin-layout/admin.layout.ts#L140
Elements with interaction handlers must be focusable
|
|
Lint:
src/app/layouts/admin-layout/admin.layout.ts#L140
click must be accompanied by either keyup, keydown or keypress event for accessibility
|
|
Lint:
src/app/layouts/admin-layout/admin.layout.ts#L77
Elements with interaction handlers must be focusable
|
|
Lint:
src/app/layouts/admin-layout/admin.layout.ts#L77
click must be accompanied by either keyup, keydown or keypress event for accessibility
|
|
Lint:
src/app/layouts/admin-layout/admin.layout.ts#L16
Unexpected any. Specify a different type
|
|
Lint:
src/app/features/roles/roles.page.ts#L230
Elements with interaction handlers must be focusable
|
|
Lint:
src/app/features/roles/roles.page.ts#L230
click must be accompanied by either keyup, keydown or keypress event for accessibility
|
|
Lint:
src/app/features/roles/roles.page.ts#L122
Elements with interaction handlers must be focusable
|
|
Lint:
src/app/features/roles/roles.page.ts#L122
click must be accompanied by either keyup, keydown or keypress event for accessibility
|
|
Lint:
src/app/features/dashboard/widgets/widget-wrapper.component.ts#L45
Output bindings, including aliases, should not be named "on", nor prefixed with it (https://angular.dev/guide/components/outputs#choosing-event-names)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
dist
Expired
|
408 KB |
sha256:2ba69e05b6941a147e9f980870960baed235fe6a8fc59d087ed99f58017b9cfe
|
|