Skip to content

Commit

Permalink
Simplify .editorconfig & .prettierrc.json (DefinitelyTyped#37400)
Browse files Browse the repository at this point in the history
* Simplify .editorconfig & .prettierrc.json

* Update `"trailingComma"` to `"all"`. Remove md indent_size
  • Loading branch information
demensky authored and sandersn committed Aug 6, 2019
1 parent 3f6627e commit 328cfb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
4 changes: 1 addition & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

16 changes: 1 addition & 15 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 328cfb3

Please sign in to comment.