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

Formulate rule/naming descriptions consistently #4419

Merged
merged 1 commit into from Dec 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -37,7 +37,7 @@ class BooleanPropertyNaming(config: Config = Config.empty) : Rule(config) {

override val issue = Issue(
javaClass.simpleName, Severity.CodeSmell,
"Boolean property name should follow the naming convention set in the projects configuration",
"Boolean property name should follow the naming convention set in the projects configuration.",
Debt.FIVE_MINS
)

Expand Down
Expand Up @@ -24,7 +24,7 @@ class ClassNaming(config: Config = Config.empty) : Rule(config) {
override val issue = Issue(
javaClass.simpleName,
Severity.Style,
"A class or object's name should fit the naming pattern defined in the projects configuration.",
"A class or object name should fit the naming pattern defined in the projects configuration.",
debt = Debt.FIVE_MINS
)

Expand Down
Expand Up @@ -53,7 +53,7 @@ class NoNameShadowing(config: Config = Config.empty) : Rule(config) {
override val issue = Issue(
javaClass.simpleName,
Severity.Defect,
"Disallows shadowing variable declarations.",
"Disallow shadowing variable declarations.",
Debt.FIVE_MINS
)

Expand Down
Expand Up @@ -37,7 +37,7 @@ class NonBooleanPropertyPrefixedWithIs(config: Config = Config.empty) : Rule(con
override val issue = Issue(
javaClass.simpleName,
Severity.Warning,
"Only boolean property names can start with 'is' prefix.",
"Only boolean property names can start with `is` prefix.",
debt = Debt.FIVE_MINS
)

Expand Down