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

Create rulesets for dev analyzers #1143

Open
1 task done
paulirwin opened this issue Mar 16, 2025 · 0 comments
Open
1 task done

Create rulesets for dev analyzers #1143

paulirwin opened this issue Mar 16, 2025 · 0 comments
Labels
is:task A chore to be done
Milestone

Comments

@paulirwin
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Task description

Context: apache/lucenenet-codeanalysis-dev#1 (review)

From @NightOwl888:

I noticed that Microsoft uses .ruleset files to group rules together. Since we will have specific rules that will need to be enabled when we upgrade to the next version of Lucene (LuceneDev1000-LuceneDev1004 are all good examples of these) it would be good to be able to group them.

  1. Default - for general development
  2. Upgrade - only useful when upgrading Lucene
  3. Code Search - only useful when searching for complex code patterns that are specific to Lucene's design that are too difficult to do using Find and Replace

I suspect there will be other categories as the project develops.

According to ChatGPT we can use .ruleset files for this purpose: https://chatgpt.com/share/67cfaeeb-72c4-8005-a530-afb1e27cec94

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:task A chore to be done
Projects
None yet
Development

No branches or pull requests

1 participant