-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Motivation
We update known_good_version of linters on a daily basis. It would be great to leverage AI coding for the chores. For instance, GitHub Copilot Agent might be good, as we can trigger an automation to update linter default versions by a GitHub issue.
Example: Cursor
I testedd Cursor whether or not I can automate the task to update know_good_version of linters. The subsequent cursor rule worked. I'm sure we can also leverage other AI coding tools as GitHub Copilot Agent for the task as well.
# Upgrade Linter Known Good Version
This rule guides the AI on how to update the `known_good_version` field for linters in the codebase.
To upgrade a linter's `known_good_version`:
1. Identify the specific linter's `plugin.yaml` file in the `linters/` directory (e.g., @linters/yamllint/plugin.yaml).
2. Locate the `known_good_version` field within the file.
3. Perform a web search to find the latest stable version of the specific linter.
4. Double-check that the version found online is valid and exists (e.g., by checking releases on the linter's repository).
5. Update the `known_good_version` value in the `plugin.yaml` file to the newly found latest version.
Metadata
Metadata
Assignees
Labels
No labels