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

Add support for disabled_rules property in .editorconfig for globally disabling rules #503

Merged
merged 7 commits into from
Jul 3, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add comment re disabled rules
shashachu committed Jul 3, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 0ced6d566807f6c4cb62ba8b4a5f6bc494d46df6
Original file line number Diff line number Diff line change
@@ -5,6 +5,7 @@ import com.pinterest.ktlint.core.RuleSetProvider

class StandardRuleSetProvider : RuleSetProvider {

// Note: some of these rules may be disabled by default. See the default .editorconfig.
override fun get(): RuleSet = RuleSet(
"standard",
AnnotationRule(),