diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8c52ff9 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false diff --git a/biome.jsonc b/biome.jsonc index be4126b..65c8edc 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -23,10 +23,8 @@ }, "formatter": { "enabled": true, - "indentStyle": "space", - "indentWidth": 2, - "lineWidth": 100, - "lineEnding": "lf" + "useEditorconfig": true, + "lineWidth": 120 }, "linter": { "enabled": true,