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] Use lint config from workspace/configuration #233

Closed

Conversation

elliotfklein
Copy link

@elliotfklein elliotfklein commented Oct 16, 2023

Updates lint configuration from workspace/configuration requests in in addition to workspace/didChangeConfiguration notifications.

AFAICT this is a simple change, but haven't figured out how to connect to a local dev server to test this.

Thanks for all your work on this library! 🙂

Closes #232

In addition to workspace/didChangeConfiguration
documents.all().forEach((v) => {
makeDiagnostics(v)
})
}
})

connection.onDidChangeConfiguration((change) => {
Copy link
Author

@elliotfklein elliotfklein Oct 16, 2023

Choose a reason for hiding this comment

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

Most of the above changes are just copied from the second half of this event handler

@elliotfklein
Copy link
Author

Closing just to get this off my "PRs" page...happy to revisit anytime if maintainers have bandwidth to review! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use lint configuration from workspace/configuration requests
1 participant