From 328cfb31e99c42251f62c47f2f09c62a36820b0f Mon Sep 17 00:00:00 2001 From: Dmitry Demensky <10235949+demensky@users.noreply.github.com> Date: Wed, 7 Aug 2019 01:35:47 +0300 Subject: [PATCH] Simplify .editorconfig & .prettierrc.json (#37400) * Simplify .editorconfig & .prettierrc.json * Update `"trailingComma"` to `"all"`. Remove md indent_size --- .editorconfig | 4 +--- .prettierrc.json | 16 +--------------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/.editorconfig b/.editorconfig index 1e8c690204..af25aa8534 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,7 +4,5 @@ root = true indent_size = 4 trim_trailing_whitespace = true insert_final_newline = true - -[{*.json,*.yml,*.ts,*.tsx,*.md}] +max_line_length = 120 indent_style = space - diff --git a/.prettierrc.json b/.prettierrc.json index 23f3bfdbc0..30f991427a 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,20 +1,6 @@ { "$schema": "http://json.schemastore.org/prettierrc", - - "parser": "typescript", - "printWidth": 120, - "semi": true, "singleQuote": true, - "tabWidth": 4, - "trailingComma": "es5", - - "overrides": [ - { - "files": ["*.md"], - "options": { - "tabWidth": 2 - } - } - ] + "trailingComma": "all" }