portfolio/prettier.config.js
Timothy Farrell 3328248274 Apply standard/enforced code format with prettier.
This commit marks applying prettier to the whole of git history up to this point and prettier is used to enforce format via pre-commit hook. The command used was: `git filter-branch -f --tree-filter 'prettier --no-config --single-quote --tab-width=1 --print-width=100 --use-tabs --trailing-comma=none --prose-wrap=always --write "{.,{packages,bin}/**}/*.{js,json,md}" || echo "Error formatting, possibly invalid JS"' -- --all`
2018-07-19 07:52:42 -05:00

13 lines
217 B
JavaScript

module.exports = {
printWidth: 100,
tabWidth: 1,
useTabs: true,
singleQuote: true,
trailingComma: 'none',
bracketSpacing: true,
semi: true,
requirePragma: false,
proseWrap: 'always',
arrowParens: 'avoid'
};