Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MINOR UPDATE]: Add an .editorconfig file providing style hints to editors and IDEs #2281

Merged
merged 2 commits into from
Aug 2, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# https://editorconfig.org/

# top-most EditorConfig file
root = true

# Default, notably applicable to Java, XML, JavaScript and Shell
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2

# C and C++
[*.{c, cpp}]
indent_size = 4

# Ignore third party JS
[**/static/js**]
indent_style = ignore
indent_size = ignore

# Ignore minified JS
[**.min.js]
indent_style = ignore
indent_size = ignore