From 024dd758e431b39118f0d05301db804d3762a04c Mon Sep 17 00:00:00 2001 From: Bill Church Date: Mon, 17 May 2021 06:56:05 -0400 Subject: [PATCH] chore: install Prettier code linter #242 --- app/.eslintrc.json | 7 +++++-- app/.prettierrc | 4 ++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 app/.prettierrc diff --git a/app/.eslintrc.json b/app/.eslintrc.json index aee83a4..83d607f 100644 --- a/app/.eslintrc.json +++ b/app/.eslintrc.json @@ -6,7 +6,8 @@ "node": true }, "extends": [ - "airbnb-base" + "airbnb-base", + "prettier" ], "parser": "@typescript-eslint/parser", "parserOptions": { @@ -14,8 +15,10 @@ "sourceType": "module" }, "plugins": [ - "@typescript-eslint" + "@typescript-eslint", + "prettier" ], "rules": { + "prettier/prettier": ["error"] } } diff --git a/app/.prettierrc b/app/.prettierrc new file mode 100644 index 0000000..ea9ebdb --- /dev/null +++ b/app/.prettierrc @@ -0,0 +1,4 @@ +{ + "printWidth": 100, + "singleQuote": true +} \ No newline at end of file