mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-20 13:54:32 +01:00
Problem: we use soft 4-space tabs throughout the Bisq codebase, and the new makefile is a break to this rule due to make's default requirement for hard tabs in recipes. Solution: This commit updates our Editorconfig settings to reflect this exception. For vim users, it is also recommended that you add the following entry to your .vimrc: au FileType make set tw=72 noet cc=72 It will ensure that you wrap (documentation) lines at 72 chars. It also sets noexpandtab explicitly. Even though .editorconfig should already be doing this for you when working in Bisq, this more general vim configuration will ensure you use tabs correctly in any makefile. The `cc=72` setting adds a visual right margin at 72 characters. This commit also updates the existing makefile, wrapping lines of documentation that had exceeded the 72-char margin.
23 lines
351 B
INI
23 lines
351 B
INI
root = true
|
|
|
|
[*]
|
|
indent_style = space
|
|
indent_size = 4
|
|
continuation_indent_size = 8
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[Makefile]
|
|
indent_style = tab
|
|
|
|
[*.bat]
|
|
end_of_line = crlf
|
|
|
|
[build.gradle]
|
|
continuation_indent_size = 4
|
|
|
|
[.idea/codeStyles/*.xml]
|
|
indent_size = 2
|
|
insert_final_newline = false
|