Skip to content

Draft:Add new vue/require-mayberef-unwrap rule #1798

Draft:Add new vue/require-mayberef-unwrap rule

Draft:Add new vue/require-mayberef-unwrap rule #1798

Triggered via pull request July 17, 2025 12:57
Status Failure
Total duration 1m 34s
Artifacts

CI.yml

on: pull_request
Lint
43s
Lint
Test without ESLint Stylistic
1m 16s
Test without ESLint Stylistic
Test with typescript-eslint v7
1m 20s
Test with typescript-eslint v7
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: lib/rules/require-mayberef-unwrap.js#L120
Delete `··`
Lint: lib/rules/require-mayberef-unwrap.js#L119
Replace `············node.parent.callee·&&·` with `··········node.parent.callee·&&`
Lint: lib/rules/require-mayberef-unwrap.js#L118
Replace `············node.parent.type·===·'CallExpression'·&&·` with `··········node.parent.type·===·'CallExpression'·&&`
Lint: lib/rules/require-mayberef-unwrap.js#L117
Replace `node.parent·&&·` with `⏎··········node.parent·&&`
Lint: lib/rules/require-mayberef-unwrap.js#L103
Delete `··`
Lint: lib/rules/require-mayberef-unwrap.js#L79
Replace `node,·`unref(${sourceCode.getText(node)})`` with `⏎················node,⏎················`unref(${sourceCode.getText(node)})`⏎··············`
Lint: lib/rules/require-mayberef-unwrap.js#L49
Unexpected `if` as the only statement in a `if` block without `else`
Lint: lib/rules/require-mayberef-unwrap.js#L46
Move function 'isMaybeRefTypeNode' to the outer scope
Lint: lib/rules/require-mayberef-unwrap.js#L22
Insert `⏎·······`
Lint: lib/rules/require-mayberef-unwrap.js#L14
Insert `⏎·······`