From 536b15c6c9fe900b42046fae737d486303d6b2ce Mon Sep 17 00:00:00 2001 From: phga Date: Sun, 20 Nov 2022 22:23:59 +0100 Subject: [PATCH] fix: cleaner editorconfig --- .editorconfig | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.editorconfig b/.editorconfig index 1fd2e96..fdd83d9 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ -# Some docs: https://EditorConfig.org +# Docs: https://editorconfig.org root = true # top-most EditorConfig file [*] @@ -7,12 +7,8 @@ insert_final_newline = false # newline at end of file charset = utf-8 # encoding max_line_length = 90 # Suggested maximum of 90 characters per line -[*.js?] # .js and .jsx -indent_style = space -indent_size = 2 -quote_type = single - -[*.ts?] # .ts and .tsx +# .js, .jsx, .ts, .tsx +[*.{js,ts}?] indent_style = space indent_size = 2 quote_type = single