From 59ee40df026476152466b896512c9e832ee30618 Mon Sep 17 00:00:00 2001 From: Froilan Irizarry Rivera <1918027+froi@users.noreply.github.com> Date: Mon, 11 May 2020 01:21:25 -0400 Subject: [PATCH] Add prettier configuration and update prettierignore Added the initial commit for .prettierrc.json Updated the directories that prettier should ignore Signed-off-by: Froilan Irizarry Rivera <1918027+froi@users.noreply.github.com> --- .prettierignore | 4 +++- .prettierrc.json | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .prettierrc.json diff --git a/.prettierignore b/.prettierignore index 16f2dc5..2186947 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,3 @@ -*.csv \ No newline at end of file +dist/ +lib/ +node_modules/ \ No newline at end of file diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..b1d097b --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,11 @@ +{ + "printWidth": 120, + "tabWidth": 2, + "useTabs": false, + "semi": true, + "singleQuote": true, + "trailingComma": "none", + "bracketSpacing": false, + "arrowParens": "avoid", + "parser": "typescript" + } \ No newline at end of file