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

Tag All Rules #1244

Open
Barzi-Ahmed opened this issue Feb 2, 2024 · 1 comment
Open

Tag All Rules #1244

Barzi-Ahmed opened this issue Feb 2, 2024 · 1 comment
Labels
request Feature request

Comments

@Barzi-Ahmed
Copy link

Hello,

I want to tag and use all rules (excluding Fresh) for my project, not just the recommend rules. How do I do that? I don't want to write each rule's name in "include" configuration.

This is my current deno linter .json configuraiton:

	"lint": {
		"rules": {
			"tags": ["recommended"]
		}
	},
...

Can I do something like this? "tags": ["all"]?

Great linter and great project by the way.

@bartlomieju
Copy link
Member

I can recognize the need here, but I'm not sure about the exact semantics. "all" would imply all rules, so how would we exclude just "fresh" rules by default?

Would something like this work for you?

{
  "lint": {
     "rules": {
       "tags": ["all", "-fresh"]
     }
}

@bartlomieju bartlomieju added the request Feature request label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Feature request
Projects
None yet
Development

No branches or pull requests

2 participants