diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..49d3f74 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +charset = utf-8 +insert_final_newline = true +trim_trailing_whitespace = true + +# Prettier will use these settings +end_of_line = lf +indent_style = tab +indent_size = 4 +max_line_length = 80 + +[*.{css,html,scss}] +max_line_length = 120 \ No newline at end of file diff --git a/.prettierrc b/.prettierrc index bcc76ae..b144c1c 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,16 +1,12 @@ { "arrowParens": "always", - "endOfLine": "lf", "semi": true, - "tabWidth": 4, "trailingComma": "es5", - "useTabs": true, "overrides": [ { "files": ["*.css", "*.html", "*.scss"], "options": { - "bracketSameLine": true, - "printWidth": 120 + "bracketSameLine": true } } ]