Skip to content

Commit

Permalink
Guidelines: increase line length limit to 100 characters [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
mloskot committed May 31, 2019
1 parent 628bfc2 commit 5024f6f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 11 additions & 5 deletions .editorconfig
Expand Up @@ -4,35 +4,41 @@
root = true

[*]
guidelines = 100
indent_size = 4
indent_style = space
max_line_length = 100
trim_trailing_whitespace = true
insert_final_newline = true

[*.{cpp,hpp}]
guidelines = 80, 90
guidelines = 100
indent_size = 4
indent_style = space
max_line_length = 100
trim_trailing_whitespace = true
insert_final_newline = true

[*.rst]
guidelines = 90
guidelines = 100
indent_size = 4
indent_style = space
max_line_length = 90
max_line_length = 100
trim_trailing_whitespace = true
insert_final_newline = true

[{Jamfile*,CMakeLists.txt,CMakeSettings.json,*.cmake}]
guidelines = 90
guidelines = 100
indent_size = 2
indent_style = space
max_line_length = 100
trim_trailing_whitespace = true
insert_final_newline = true

[*.yml]
guidelines = 100
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100
trim_trailing_whitespace = true
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -586,7 +586,7 @@ Maintain structure your source code files according to the following guidelines:
* All non-public headers should be placed `boost/gil/detail` or `boost/gil/<component>/detail`.
* All public definitions should reside in scope of `namespace boost { namespace gil {...}}`.
* All non-public definitions should reside in scope of `namespace boost { namespace gil { namespace detail {...}}}`.
* Write your code to fit within **90** columns of text (see discussion on [preferred line length](https://lists.boost.org/boost-gil/2018/04/0028.php) in GIL).
* Write your code to fit within **100** columns of text.
* Use [EditorConfig](https://editorconfig.org) for your editor and enable [.editorconfig](https://github.com/boostorg/gil/blob/develop/.editorconfig) to:
* Indent with **4 spaces** and no tabs.
* Trim any trailing whitespaces.
Expand Down

1 comment on commit 5024f6f

@mloskot
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 100 characters was agreed on Gitter chat

Please sign in to comment.