-
Notifications
You must be signed in to change notification settings - Fork 503
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
Add new experimental rule no-empty-file
#1963
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tnx for your contribution. Please address the issues. As we have just released version 0.49.0
, it might take a while (a couple of months) before the rule will be released. Merging of the rule will be delayed until the 0.49.x
is considered stable and will not receive any other patch versions.
...et-standard/src/main/kotlin/com/pinterest/ktlint/ruleset/standard/StandardRuleSetProvider.kt
Outdated
Show resolved
Hide resolved
...eset-standard/src/main/kotlin/com/pinterest/ktlint/ruleset/standard/rules/NoEmptyFileRule.kt
Outdated
Show resolved
Hide resolved
...eset-standard/src/main/kotlin/com/pinterest/ktlint/ruleset/standard/rules/NoEmptyFileRule.kt
Outdated
Show resolved
Hide resolved
...eset-standard/src/main/kotlin/com/pinterest/ktlint/ruleset/standard/rules/NoEmptyFileRule.kt
Outdated
Show resolved
Hide resolved
...-standard/src/test/kotlin/com/pinterest/ktlint/ruleset/standard/rules/NoEmptyFileRuleTest.kt
Outdated
Show resolved
Hide resolved
...-standard/src/test/kotlin/com/pinterest/ktlint/ruleset/standard/rules/NoEmptyFileRuleTest.kt
Outdated
Show resolved
Hide resolved
...-standard/src/test/kotlin/com/pinterest/ktlint/ruleset/standard/rules/NoEmptyFileRuleTest.kt
Show resolved
Hide resolved
...eset-standard/src/main/kotlin/com/pinterest/ktlint/ruleset/standard/rules/NoEmptyFileRule.kt
Outdated
Show resolved
Hide resolved
...eset-standard/src/main/kotlin/com/pinterest/ktlint/ruleset/standard/rules/NoEmptyFileRule.kt
Outdated
Show resolved
Hide resolved
...-standard/src/test/kotlin/com/pinterest/ktlint/ruleset/standard/rules/NoEmptyFileRuleTest.kt
Show resolved
Hide resolved
This reverts commit e359879.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready to be merged in 1.0
Replaced by #2025. I potentially messed up with rebasing on |
Description
Add new experimental rule
no-empty-file
for all code style.This rule disallow empty files.
Close #1074
Checklist
CHANGELOG.md
is updatedIn case of adding a new rule: