Skip to content

Commit 47d2dad

Browse files
committed
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.
1 parent 262c701 commit 47d2dad

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.prettierrc.js

+18-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
1-
module.exports = require('./src/config/prettierrc');
1+
module.exports = {
2+
arrowParens: 'avoid',
3+
bracketSpacing: false,
4+
endOfLine: 'lf',
5+
htmlWhitespaceSensitivity: 'css',
6+
insertPragma: false,
7+
jsxBracketSameLine: false,
8+
jsxSingleQuote: false,
9+
printWidth: 80,
10+
proseWrap: 'always',
11+
quoteProps: 'as-needed',
12+
requirePragma: false,
13+
semi: false,
14+
singleQuote: true,
15+
tabWidth: 2,
16+
trailingComma: 'all',
17+
useTabs: false,
18+
}

0 commit comments

Comments
 (0)