You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After applying the diktatFix , the following changes are in source code:
warning: in the working copy of 'save-sandbox/src/main/kotlin/com/saveourtool/save/sandbox/storage/SandboxStorage.kt', LF will be replaced by CRLF the next time Git touches it
The text was updated successfully, but these errors were encountered:
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 createdKtLintRuleEngine 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:The text was updated successfully, but these errors were encountered: