Last active
June 9, 2021 14:03
-
-
Save wzup/ed7720d3729a0ec7c4f3 to your computer and use it in GitHub Desktop.
.editorconfig file example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ВСЕ СВОЙСТВА СМ. ВНИЗУ ФАЙЛА | |
# или здесь с описанием https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties | |
# | |
# EditorConfig helps developers define and maintain consistent | |
# coding styles between different editors and IDEs | |
# http://editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 4 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
max_line_length = 80 | |
# [*] | |
# [*.{js,py}] | |
# [*.py] | |
# [Makefile] | |
# [lib/**.js] | |
# [{package.json,.travis.yml}] | |
# Universal Properties - те, что для всех форматов файлов | |
# | |
# indent_style = space # tab | space | |
# indent_size = 4 # int | tab | |
# tab_width = 4 # a positive integer (defaults indent_size when indent_size is a number) | |
# end_of_line = lf # lf | cr | lf | |
# charset = utf-8 # latin1 | utf-8 | utf-16be | utf-16le | |
# trim_trailing_whitespace = true # true | false | |
# insert_final_newline = true | false | |
# max_line_length = 80 # positive int, only emax or vim | |
# Domain-Specific Properties - The following properties are not intended to be implemented by EditorConfig. | |
# This is simply a brainstorm of domain-specific properties that could be supported | |
# by some tools that rely on EditorConfig files. | |
# | |
# single | double | auto | |
# quote_type = | |
# domain: C-family languages (such as C, C++, D, Objective-C, etc.) | |
# c_include_path = | |
# domain: java | |
# java_class_path = # domain: java | |
# true | fasle, domnain: C-family languages (such as C, C++, Java, Javascript, etc.) | |
# curly_bracket_next_line = | |
# true | false | hybrid | |
# spaces_around_operators = | |
# none | inside | outside | both | |
# spaces_around_brackets = | |
# K&R | Allman | GNU | Horstmann, domain: C-family languages (such as C, C++, Java, Javascript, etc.) with code blocks using curly braces | |
# indent_brace_style = | |
# int, domain: JetBrains (IntelliJ IDEA) | |
# continuation_indent_size = |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment