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

Get warning when rule is not defined #407

Closed
carlospinho04 opened this issue Sep 15, 2017 · 2 comments · Fixed by #412
Closed

Get warning when rule is not defined #407

carlospinho04 opened this issue Sep 15, 2017 · 2 comments · Fixed by #412
Milestone

Comments

@carlospinho04
Copy link

I have the following configuration file:

autoCorrect: false
failFast: false

potential-bugs:
  active: false

performance:
  active: false

exceptions:
  active: false

empty-blocks:
  active: false

complexity:
  active: false

code-smell:
  active: false

formatting:
  active: false

style:
  active: true
  MagicNumber:
    active: true

comments:
  active: false

```
and this code:
```
fun main(args : Array<String>) {
    val myFloat = 5.0
  println("Hello, world!")
}
`
``
and i'm receiving "NewLineAtEndOfFile" and "MagicNumber" warnings.
I only have "MagicNumber" rule active, and i'm receiving "NewLineAtEndOfFile" warning too.
@arturbosch
Copy link
Member

Maybe linked to #403

@lock
Copy link

lock bot commented Jun 20, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants