From d74393925589dc70ed6cb2b7612b122eb22f3317 Mon Sep 17 00:00:00 2001 From: varjolintu Date: Tue, 19 Dec 2023 11:45:55 +0200 Subject: [PATCH] Update editor configs --- .editorconfig | 1 + .prettierrc | 7 ++++--- .vscode/settings.json | 5 +++++ 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.editorconfig b/.editorconfig index 632505c..533910d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,6 +8,7 @@ end_of_line = lf insert_final_newline = true charset = utf-8 indent_style = space +max_line_length = 120 # Get rid of whitespace to avoid diffs with a bunch of EOL changes trim_trailing_whitespace = true diff --git a/.prettierrc b/.prettierrc index a58e69a..bbc7b4a 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,6 +1,7 @@ { - "singleQuote": true, - "trailingComma": "all", "arrowParens": "avoid", - "tabWidth": 4 + "bracketSpacing": true, + "singleQuote": true, + "tabWidth": 4, + "trailingComma": "all" } diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..d9ba44f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "editor.rulers": [ + 120 + ] +}