Skip to content

Fix ClassStartsWithBlankLine for interfaces, enums and traits with annotations#751

Merged
chrismair merged 1 commit into
CodeNarc:masterfrom
s-ven:master
Oct 28, 2023
Merged

Fix ClassStartsWithBlankLine for interfaces, enums and traits with annotations#751
chrismair merged 1 commit into
CodeNarc:masterfrom
s-ven:master

Conversation

@s-ven

@s-ven s-ven commented Oct 26, 2023

Copy link
Copy Markdown

The ClassStartsWithBlankLine rule was failing when interfaces, traits or enum were defined with annotations on same line as the declaration

This fixes #750

…notations

The ClassStartsWithBlankLine rule was failing when interface, traits or enum were defined with annotations on same line as the declaration

This fixes CodeNarc#750
@s-ven s-ven changed the title Fix ClassStartsWithBlankLine rule for enums and traits with annotations Fix ClassStartsWithBlankLine for interfaces, enums and traits with annotations Oct 26, 2023
@chrismair chrismair merged commit 93fd73f into CodeNarc:master Oct 28, 2023
@chrismair

Copy link
Copy Markdown
Contributor

Nice. Thanks for the contribution!

@s-ven

s-ven commented Oct 31, 2023

Copy link
Copy Markdown
Author

Nice. Thanks for the contribution!

No worries, ty for the quick merge, any plan for a 3.3.1 ?

@chrismair

Copy link
Copy Markdown
Contributor

The next version is likely in the Jan/Feb timeframe.

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.

ClassStartsWithBlankLineRule reports invalid violation when enums (or traits) have annotation on the same line as the definition

2 participants