mirror of
https://github.com/nodejs/node.git
synced 2024-11-25 08:19:38 +01:00
6ea507a8bf
The `doc` directory had not had any editorconfig rules applied which can lead to tab indentation in editors. This unifies the rules to use 2-space as the default. Additionally, all rules are now sorted alphabetically. PR-URL: https://github.com/nodejs/node/pull/23163 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
27 lines
462 B
INI
27 lines
462 B
INI
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
indent_size = 2
|
|
indent_style = space
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
[vcbuild.bat]
|
|
end_of_line = crlf
|
|
|
|
[Makefile]
|
|
indent_size = 8
|
|
indent_style = tab
|
|
|
|
[{deps}/**]
|
|
charset = ignore
|
|
end_of_line = ignore
|
|
indent_size = ignore
|
|
indent_style = ignore
|
|
trim_trailing_whitespace = ignore
|
|
|
|
[{test/fixtures,deps,tools/node_modules,tools/gyp,tools/icu,tools/msvs}/**]
|
|
insert_final_newline = false
|