1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
# top-most EditorConfig file
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = 4
# tab indentation by default
[*.{js,jsx,ts,tsx}]
indent_style = tab
indent_size = 4
# space indentation for some specific files
[{package.json,lerna.json}]
indent_style = space
indent_size = 2
[*.{yml,yaml,md}]
indent_style = space
indent_size = 2
# Indent code blocks in the documentation with 4-size tabs
[docs/**/*.md]
indent_style = tab
indent_size = 4
|