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

Improve text location: InvalidPackageDeclaration #2052

Merged

Conversation

BraisGabin
Copy link
Member

This is an easy one. If the file has a package and it doesn't match with the directories the error should be only the package line.

Little offtopic: I have 8 branches like this one ready to review. I didn't send them because I don't want to be spammy.

What do you prefer? One PR for each rule or a PR with all those changes?

I prefer one PR per rules because I think that all those PRs can have it's own discussions and in this way we can merge the easy ones and talk more about the others. But as I said, I didn't create all the PRs yet because I don't want to be spammy.

Copy link
Member

@arturbosch arturbosch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I also prefer many small PRs.
Thanks for the effort!

@arturbosch arturbosch added this to the 1.2.0 milestone Oct 27, 2019
@arturbosch arturbosch merged commit e2eaf3e into detekt:master Oct 27, 2019
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
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.

None yet

2 participants