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

wip: Add error on lint execution failure #4474

Closed

Conversation

nospam2998
Copy link
Contributor

Draft PR for #4060. Feedback is needed.

cos added 2 commits March 8, 2023 08:35
Reports errors on failure to execute linters if `ale_error_on_lint_fail`
is set.

Bug: It appears the end_lnum is ignored. The scope for an error like
this one should likely be the entire file.

Please comment at dense-analysis#4060 if
having any thoughts at all about this suggested change.
Copy link
Member

@w0rp w0rp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea of ALE eating its own dog food to use the external sources API itself for showing errors on executable failures. I like also that the setting is off by default.

You could undraft this, add tests for the changes, and add documentation for the new setting.

@stale
Copy link

stale bot commented May 4, 2023

This pull request has been automatically marked as stale because it has not been updated recently. Make sure to write tests and document your changes. See :help ale-dev for information on writing tests.
If your pull request is good to merge, bother w0rp or another maintainer again, and get them to merge it.

@stale stale bot added the stale PRs/Issues no longer valid label May 4, 2023
@stale stale bot closed this May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PRs/Issues no longer valid
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants