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`
13 lines
217 B
JavaScript
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'
|
|
};
|