2024-04-14 16:09:08 +00:00
|
|
|
# EditorConfig is awesome: https://EditorConfig.org
|
|
|
|
|
|
|
|
# top-most EditorConfig file
|
|
|
|
root = true
|
|
|
|
|
|
|
|
# Unix-style newlines with a newline ending every file
|
|
|
|
[*]
|
2024-05-13 13:24:47 +00:00
|
|
|
end_of_line = lf|crlf
|
2024-04-14 16:09:08 +00:00
|
|
|
insert_final_newline = true
|
|
|
|
|
|
|
|
# Matches multiple files with brace expansion notation
|
|
|
|
# Set default charset
|
|
|
|
charset = utf-8
|
|
|
|
|
|
|
|
# 2 space indentation
|
|
|
|
[*.{cjs,mjs,js,jsx,ts,tsx,css,scss,sass,html,json}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
# Unfortunately, EditorConfig doesn't support space configuration inside import braces directly.
|
2024-05-16 12:24:49 +00:00
|
|
|
# You'll need to rely on your linter/formatter like ESLint or Prettier for that.
|