Add prettier

This commit is contained in:
Oliver Davies 2020-03-14 21:51:50 +00:00
parent d1b22efc0e
commit e4444b405a
5 changed files with 66 additions and 0 deletions

18
prettier.config.js Normal file
View file

@ -0,0 +1,18 @@
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,
}