Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linter: no-unreachable should label the unreachable point #3938

Open
Boshen opened this issue Jun 27, 2024 · 0 comments
Open

linter: no-unreachable should label the unreachable point #3938

Boshen opened this issue Jun 27, 2024 · 0 comments
Assignees
Labels
C-enhancement Category - New feature or request

Comments

@Boshen
Copy link
Member

Boshen commented Jun 27, 2024

It would be nice to show all the return points, the following message span is not helpful at a glance:

 × eslint(no-unreachable): Unreachable code.
    ╭─[kibana/x-pack/test/functional/services/uptime/navigation.ts:66:9]
 65 │             });
 66 │ ╭─▶         await testSubjects.existOrFail('uptimeMonitorPage', {
 67 │ │             timeout: 30000,
 68 │ ╰─▶         });
 69 │           }
    ╰────
@Boshen Boshen added the C-enhancement Category - New feature or request label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category - New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants