Skip to content

Commit 85642a4

Browse files
committed
restore prettier's arrowParens to the default value, which is "always" in prettier v2.0+
1 parent a48eaa4 commit 85642a4

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ovos-media/coding-standard",
3-
"version": "1.4.1",
3+
"version": "1.4.2",
44
"description": "ovos-media Coding Standard",
55
"main": "index.js",
66
"types": "index.d.ts",

prettier.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ const config: prettier.Options = {
1010
printWidth: 100,
1111
singleQuote: true,
1212
trailingComma: "es5",
13-
// neither "avoid" nor "always" plays well with tslint's "ter-arrow-parens"
14-
// with "as-needed" + "requireForBlockBody": true...
15-
// but of two evils, choose the least (disable requireForBlockBody in tslint)
16-
arrowParens: "avoid",
1713
};
1814

1915
export default config;

0 commit comments

Comments
 (0)