Skip to content

Add no-named-default rule #5017

Add no-named-default rule

Add no-named-default rule #5017

Triggered via pull request January 24, 2025 07:52
Status Success
Total duration 8m 10s
Artifacts

main.yml

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

Annotations

33 warnings
run-rules-on-codebase
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration test (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Node.js 23 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Node.js 18 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration test (5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration test (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration test (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-test (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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-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...'
lint-test (ubuntu-latest): rules/prefer-math-min-max.js#L38
Method 'ConditionalExpression' has a complexity of 40. Maximum allowed is 20
Integration test (8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-test (windows-latest): index.js#L59
Unexpected 'todo' comment: 'TODO: Remove this at some point. Kept...'
lint-test (windows-latest): rules/ast/call-or-new-expression.js#L14
Function 'create' has a complexity of 24. Maximum allowed is 20
lint-test (windows-latest): rules/ast/is-member-expression.js#L14
Function 'isMemberExpression' has a complexity of 24. Maximum allowed is 20
lint-test (windows-latest): rules/expiring-todo-comments.js#L331
Function 'processComment' has a complexity of 33. Maximum allowed is 20
lint-test (windows-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 (windows-latest): rules/import-style.js#L156
Arrow function has too many parameters (5). Maximum allowed is 4
lint-test (windows-latest): rules/prefer-dom-node-dataset.js#L17
Unexpected 'todo' comment: 'TODO: Remove this restriction if...'
lint-test (windows-latest): rules/prefer-dom-node-remove.js#L18
Unexpected 'todo' comment: 'TODO: Don't check node.type twice'
lint-test (windows-latest): rules/prefer-dom-node-remove.js#L78
Unexpected 'todo' comment: 'TODO: Allow case like...'
lint-test (windows-latest): rules/prefer-math-min-max.js#L38
Method 'ConditionalExpression' has a complexity of 40. Maximum allowed is 20
Integration test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration test (9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration test (7)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration test (6)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636