From e9588cde203049ff26c5182b4aae35b6e6467feb Mon Sep 17 00:00:00 2001 From: Oliver Blanthorn Date: Fri, 13 Apr 2018 19:17:22 +0100 Subject: [PATCH] Prevent prettier from adding line breaks to excmds --- .prettierrc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.prettierrc b/.prettierrc index c88bc86c..9d453509 100644 --- a/.prettierrc +++ b/.prettierrc @@ -2,4 +2,13 @@ tabWidth: 4 useTabs: false semi: false singleQuote: false -arrowParens: avoid +arrowParens: "avoid" +trailingComma: "all" +proseWrap: "never" + +# The python script which parses excmds requires that function signatures are on one line. +# Hopefully, no-one will write a function signature more than 10,000 characters long. +overrides: +- files: "excmds.ts" + options: + printWidth: 10000