-
Notifications
You must be signed in to change notification settings - Fork 506
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
Restructure ktlint parameters in ".editorconfig" #1033
Comments
I would agree with it, though currently it is only
See #548 |
I don't think having to maintain a list of all standard rules in each project to just run the standard rules is something that scales well. If it's a standard rules it should like the name says be the standard, so on/true by default. The suggestion of individual properties still sounds like a good idea for disabling standard rules though. It is also a much better experience for experimental rules than the current enable all experimental rules with a flag and the disable those again that you don't want. |
…roperties per ruleset and rule * Add property name to the EditorConfigProperty to distinct between the name of the property itself and the property type name. Closes pinterest#1033
I would like to propose the way the settings of ktlint are organized in the ".editorconfig" file.
ktlint_
to make a clear distinction generic and intellij specific properties.disable_rules
with a setting per rule. Rules can be enabled and disabled explicitly. User are protected against new rules from the ruleset 'standard' being enabled when upgrading to new version. Also it allows user to enable specific rules from other rulesets.This change requires other changes for best developer experience:
ktlint_standard_<rule-id>_enabled
is not found so that user can choose explicitly whether to enabled or disable the rule.The text was updated successfully, but these errors were encountered: