mirror of
https://github.com/status-im/sourcecred.git
synced 2025-01-11 21:24:35 +00:00
d48e8e7f26
Summary: Follows the lead of #18. Test Plan: Verify that non-pretty files abort the commit: ```shell $ echo 'const x = 1 + 1;' >foo.js $ git add foo.js $ git commit -m yikes husky > npm run -s precommit (node v8.9.4) ❯ Running tasks for **/*.js ✖ prettier --list-different → foo.js ✖ prettier --list-different found some errors. Please fix them and try committing again. foo.js husky > pre-commit hook failed (add --no-verify to bypass) ``` wchargin-branch: backend-prettier
6 lines
83 B
JSON
6 lines
83 B
JSON
{
|
|
"trailingComma": "es5",
|
|
"bracketSpacing": false,
|
|
"arrowParens": "always"
|
|
}
|