Skip to content

Commit

Permalink
Create .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
orcalinux authored Dec 25, 2024
1 parent 21492d3 commit b195db0
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions parser/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Top-most EditorConfig file
root = true

# General settings for all files
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

# Settings for C++ source files
[*.cpp]
indent_style = space
indent_size = 4
max_line_length = 120

# Settings for C++ header files
[*.hpp]
indent_style = space
indent_size = 4
max_line_length = 120

# Settings for header files with other extensions
[*.h]
indent_style = space
indent_size = 4
max_line_length = 120

# Settings for build scripts like Makefiles
[Makefile]
indent_style = tab

# Configuration files like .editorconfig, .gitignore, etc.
[*.{editorconfig,gitignore}]
indent_style = space
indent_size = 2

0 comments on commit b195db0

Please sign in to comment.