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

Probing support for Civet #1965

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Probing support for Civet #1965

wants to merge 2 commits into from

Conversation

edemaine
Copy link

@edemaine edemaine commented Jan 2, 2025

This PR adds support for automatic eslint probing for the Civet language according to the existence of the plugin eslint-plugin-civet. This avoids having to force linting via eslint.validate (which also works but is more tedious for the user).

Here's an example repo directory to test on. Here's a screenshot of it working with this PR (lots of intentional errors):

image

Based on #1795 (analogous PR for Astro)

@dbaeumer
Copy link
Member

dbaeumer commented Jan 6, 2025

Can you please update the readme as well to outline that we have that support now.

Copy link
Member

@dbaeumer dbaeumer left a comment

Choose a reason for hiding this comment

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

See previous comment

@edemaine
Copy link
Author

Sorry for the delay. I added "civet" to the default for eslint.probe in the README, which seems to be the only place these are mentioned. If you'd like me to add it to the two changelogs as well, I can do that — I assume for an odd-numbered prerelease version?

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.

2 participants