diff --git a/.editorconfig b/.editorconfig index 2e10a0d5..ac225590 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,2 +1,15 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true + +[*.{rb,js,json,yaml,yml}] +indent_style = space +indent_size = 2 + +[*.{rb,js}] +max_line_length = 80 + [README.md] max_line_length = unset diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 00000000..5ae09c2e --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,5 @@ +{ + "bracketSpacing": true, + "trailingComma": "none", + "semi": true +}