mirror of
https://github.com/status-im/sourcecred.git
synced 2025-01-23 19:09:25 +00:00
Only exclude top-level directories from Prettier (#154)
Summary: In particular, we excluded `bin`, but this was catching non-root directories named `bin`, too, and so files like `src/plugins/github/bin/fetchAndPrintGithubRepo.js` were not subject to prettification. Happily, those files are all pretty enough, anyway. Test Plan: Note that mangling the format of `fetchAndPrintGithubRepo.js` prior to this commit would not cause `yarn check-pretty` to fail, nor would the manglings be fixed by `yarn prettify`—but that both of these behaviors are reversed after this commit. wchargin-branch: prettier-exclude-root-only
This commit is contained in:
parent
28a118c814
commit
ef7610a440
@ -1,3 +1,3 @@
|
||||
bin
|
||||
build
|
||||
flow-typed
|
||||
/bin
|
||||
/build
|
||||
/flow-typed
|
||||
|
Loading…
x
Reference in New Issue
Block a user