editorconfig: Add max_line_length property
authorAndres Gomez <agomez@igalia.com>
Mon, 7 Jan 2019 13:49:00 +0000 (15:49 +0200)
committerAndres Gomez <agomez@igalia.com>
Thu, 10 Jan 2019 13:50:34 +0000 (15:50 +0200)
The property is supported by the most of the editors, but not all:
https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#max_line_length

Cc: Eric Engestrom <eric@engestrom.ch>
Cc: Eric Anholt <eric@anholt.net>
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
.editorconfig

index 06848f68c08bc7659a3d0cae7a72a9a4bfe23971..c2b772da6c11ffcf54c70fb66a2518efdc768936 100644 (file)
@@ -11,6 +11,7 @@ tab_width = 8
 [*.{c,h,cpp,hpp,cc,hh}]
 indent_style = space
 indent_size = 3
+max_line_length = 78
 
 [{Makefile*,*.mk}]
 indent_style = tab