diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..084c204eb --- /dev/null +++ b/.editorconfig @@ -0,0 +1,29 @@ +root = true + +[*] +charset = utf-8 +end_of_line = crlf +indent_size = 4 +indent_style = space +insert_final_newline = true +max_line_length = 120 +tab_width = 4 +trim_trailing_whitespace = true + +[{*.ats, *.ts}] +indent_size = 2 +tab_width = 2 + +[{*.cjs, *.js}] +indent_size = 2 +tab_width = 2 + +[{*.gradle.kts, *.kts, *.kt}] +indent_size = 2 +tab_width = 2 + +[{*.yml, *.yaml}] +indent_size = 2 + +[{.eslintrc, bowerrc, .prettierrc, .releaserc, jest.config, .stylelintrc, .babelrc, *.jsb3, *.jsb2, *.json}] +indent_size = 2