Skip to content

Add prefer-class-fields rule #5036

Add prefer-class-fields rule

Add prefer-class-fields rule #5036

Triggered via pull request January 29, 2025 00:02
Status Failure
Total duration 8m 38s
Artifacts

main.yml

on: pull_request
run-rules-on-codebase
26s
run-rules-on-codebase
Matrix: integration
Matrix: lint-test
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
lint-test (ubuntu-latest)
Process completed with exit code 1.
lint-test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
lint-test (windows-latest)
The operation was canceled.
lint-test (ubuntu-latest): index.js#L59
Unexpected 'todo' comment: 'TODO: Remove this at some point. Kept...'
lint-test (ubuntu-latest): rules/ast/call-or-new-expression.js#L14
Function 'create' has a complexity of 24. Maximum allowed is 20
lint-test (ubuntu-latest): rules/ast/is-member-expression.js#L14
Function 'isMemberExpression' has a complexity of 24. Maximum allowed is 20
lint-test (ubuntu-latest): rules/expiring-todo-comments.js#L331
Function 'processComment' has a complexity of 33. Maximum allowed is 20
lint-test (ubuntu-latest): rules/fix/replace-node-or-token-and-spaces-before.js#L3
Generator function 'replaceNodeOrTokenAndSpacesBefore' has too many parameters (5). Maximum allowed is 4
lint-test (ubuntu-latest): rules/import-style.js#L156
Arrow function has too many parameters (5). Maximum allowed is 4
lint-test (ubuntu-latest): rules/prefer-class-fields.js#L80
Arrow function has too many parameters (6). Maximum allowed is 4
lint-test (ubuntu-latest): rules/prefer-dom-node-dataset.js#L17
Unexpected 'todo' comment: 'TODO: Remove this restriction if...'
lint-test (ubuntu-latest): rules/prefer-dom-node-remove.js#L18
Unexpected 'todo' comment: 'TODO: Don't check node.type twice'
lint-test (ubuntu-latest): rules/prefer-dom-node-remove.js#L78
Unexpected 'todo' comment: 'TODO: Allow case like...'