Skip to content

Configure default excludes for InvalidPackageDeclaration #2539

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

Closed
arturbosch opened this issue Mar 28, 2020 · 1 comment · Fixed by #3305
Closed

Configure default excludes for InvalidPackageDeclaration #2539

arturbosch opened this issue Mar 28, 2020 · 1 comment · Fixed by #3305

Comments

@arturbosch
Copy link
Member

arturbosch commented Mar 28, 2020

Expected Behavior

We should exclude *.gradle.kts files by default. Maybe even *.kts files?

Current Behavior

InvalidPackageDeclaration flags gradle.kts for not having a package declaration.

Context

A failfast configured codeac instance with rule defaults.

@BraisGabin
Copy link
Member

Do you mean *.gradle.kts? Anyway I vote for *.kts.

schalkms added a commit that referenced this issue Dec 21, 2020
* Configure default excludes for InvalidPackageDeclaration

Closes #2539

* Adapt to generator to output .kts

* Refactor the generator to support different excludes
* Each rule and rule set can only have one exclude pattern
@arturbosch arturbosch added this to the 1.16.0 milestone Dec 21, 2020
arturbosch pushed a commit that referenced this issue Jan 16, 2021
* Configure default excludes for InvalidPackageDeclaration

Closes #2539

* Adapt to generator to output .kts

* Refactor the generator to support different excludes
* Each rule and rule set can only have one exclude pattern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants