Skip to content

Commit

Permalink
chore: configure IntelliJ to match ktlint style
Browse files Browse the repository at this point in the history
Adds config files for IntelliJ code style that try to make the built-in formatter close to what ktlint expected.

See https://pinterest.github.io/ktlint/0.5.0/rules/configuration-intellij-idea/
  • Loading branch information
Oleksandr Dzhychko committed Feb 20, 2024
1 parent 9744aa2 commit 3294acb
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@
/*/build/
.DS_Store
.gradletasknamecache
.idea/
.idea/*
!.idea/codeStyles
*.iml
kotlin_gen
/version.txt
/node_modules
**/.ideaconfig
**/.mpsconfig
$LOG_DIR$

# for MPS projects
workspace.xml
19 changes: 19 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3294acb

Please sign in to comment.