From 47d2dadecff16b4ca1699e4241afee07b699ab48 Mon Sep 17 00:00:00 2001 From: Jamie Rolfs Date: Tue, 10 Mar 2020 19:35:22 -0700 Subject: [PATCH] fix: use upstream instead of shared Prettier configuration for this repo Use Prettier configuration from upstream repository (https://github.com/kentcdodds/kcd-scripts) instead of the shared configuration distributed with this package from `src/config/prettierrc.js` in order to maintain the ability to merge the upstream repo. --- .prettierrc.js | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.prettierrc.js b/.prettierrc.js index 101b373b..181b27c9 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -1 +1,18 @@ -module.exports = require('./src/config/prettierrc'); +module.exports = { + arrowParens: 'avoid', + bracketSpacing: false, + endOfLine: 'lf', + htmlWhitespaceSensitivity: 'css', + insertPragma: false, + jsxBracketSameLine: false, + jsxSingleQuote: false, + printWidth: 80, + proseWrap: 'always', + quoteProps: 'as-needed', + requirePragma: false, + semi: false, + singleQuote: true, + tabWidth: 2, + trailingComma: 'all', + useTabs: false, +}