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

Added packagePattern option to config #329

Merged
merged 3 commits into from
Aug 24, 2017
Merged

Added packagePattern option to config #329

merged 3 commits into from
Aug 24, 2017

Conversation

schalkms
Copy link
Member

@schalkms schalkms commented Aug 23, 2017

I also spotted that we have two tests for the NamingConventionViolation rule. I think one should be deleted because they are basically testing the same thing.

EDIT: fixes #327

@Mauin
Copy link
Collaborator

Mauin commented Aug 23, 2017

This shows that we need to find a way (Wiki, .md files in the codebase somewhere or something) to document rules and their configuration better. Currently our default-detekt-config.yml is pretty much all the documentation we have and not all parameters of a rule are usually added there.


class NamingConventionSpec : Spek({

given("a kt file with crazy naming schemes") {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we migrate these test cases over to the other test class to keep the same coverage?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm working on it. I don't know what problem the appveyor build had with my first commit.

Copy link
Member

Choose a reason for hiding this comment

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

I also noticed the appveyor problem in some of my commits. Kotlin.Unit cannot be loaded ^^

@arturbosch
Copy link
Member

arturbosch commented Aug 23, 2017

It looks like its rdy to merge?

@arturbosch arturbosch added this to the RC4 milestone Aug 23, 2017
@schalkms
Copy link
Member Author

@arturbosch yes

@arturbosch arturbosch merged commit b079f7a into detekt:master Aug 24, 2017
@schalkms schalkms deleted the packagePattern branch September 20, 2017 16:43
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.

PackagePattern in naming conventions
4 participants