This website requires JavaScript.
Explore
Help
Sign In
status-im
/
sourcecred
mirror of
https://github.com/status-im/sourcecred.git
Watch
2
Star
0
Fork
You've already forked sourcecred
0
Code
Issues
Projects
Releases
Wiki
Activity
b5be554d63
sourcecred
/
.prettierignore
7 lines
50 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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
2018-04-27 02:47:58 +00:00
/bin
/build
Ignore coverage output in Prettier (#364) Test Plan: Run `yarn test --env=jsdom --coverage`, and note that files are generated into `coverage/`. Then, run `yarn travis`, which fails before this patch (on `check-pretty`) and passes after it. wchargin-branch: prettier-ignore-coverage
2018-06-08 17:50:52 +00:00
/coverage
api: extract browser-friendly build target (#1536) Summary: This re-packages the build for the internal APIs exposed under #1526 to be more browser-friendly. Removing `target: "node"` (and adding an explicit `globalObject: "this"` for best-effort cross-compatibility) is the biggest change from the backend build; removing all the extra loaders and static site generation is the biggest change from the frontend build. This build configuration is forked from `webpack.config.backend.js`. Test Plan: Run `yarn api`, then upload the contents of `dist/api.js` to an Observable notebook and require it as an ES module. Verify that the SourceCred APIs are exposed: e.g., `sourcecred.core.graph.Graph` should be a valid constructor. wchargin-branch: api-build
2020-01-10 05:27:37 +00:00
/dist
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
2018-04-27 02:47:58 +00:00
/flow-typed
prettier: ignore sharness/ (#866) Summary: Sharness tests use temporary directories under the `sharness/` directory, which sometimes contain build output, which includes JavaScript files. This creates a flaky failure in `yarn test`: if `sharness` creates a file then `check-pretty` can complain about it. Test Plan: None. wchargin-branch: prettier-ignore-sharness
2018-09-20 01:12:38 +00:00
/sharness