Commit 57c3d0c8 authored by Eduard's avatar Eduard Committed by Zander

!20 Add extra rules in editorconfig.

  - root=true as per the documentation
  - indent_size = 2 only for c/cpp
  - max_line_length = 80 for sources
  - max_line_length = 60 for meson.build.
parent 1a35099e
[*.{c, h}]
# EditorConfig is awesome:
# https://EditorConfig.org
root = true
# Global rules (applies to all files).
[*]
end_of_line = lf
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
indent_size = 4
# Define rules for individual file names.
[*.{py,c,h,cpp}]
max_line_length = 80
# Meson reads better with short lines.
[meson.build]
max_line_length = 60
[*.{c,h,cpp}]
indent_size = 2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment