Closed nulls closed 8 months ago
Looks like ktlint relates on .editorconfig
as a source for endOfLine
and lf
is value by default.
Probably we should configure .editorconfig
instead of changing end lines in formatted code: we get a formatted code as output of calling ktlint.
~Also we can set editorConfigDefaults
when KtLintRuleEngine
is being created~ KtLintRuleEngine
is created a single time, but end of line needs to be detected based on a file. So we can support only cases with system specific end of lines
After applying the
diktatFix
, the following changes are in source code: