-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/enforce code style #77
Open
unity
wants to merge
8
commits into
release/v0.14.0
Choose a base branch
from
feature/enforce-code-style
base: release/v0.14.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
unity
commented
Aug 10, 2018
- applies eslint + prettier + flow on each commit,
- prettifies the entire codebase
- fixes a few minor Flow type errors
- disables flow warnings
- prettier - lint - flow before commits.
and fix Flow `HullConnectorUpdateHandlerCallback` and `HullSegmentUpdateHandlerCallback` signatures to accept a second, ignored arguments
BEWARE: `documentation` is broken because of the `...$Exact<>` type syntax -> disabled for this commit. Must be fixed. ``` { "type": "ObjectTypeSpreadProperty", "start": 2661, "end": 2694, "loc": { "start": { "line": 101, "column": 2 }, "end": { "line": 101, "column": 35 } }, "argument": { "type": "GenericTypeAnnotation", "start": 2664, "end": 2693, "loc": { "start": { "line": 101, "column": 5 }, "end": { "line": 101, "column": 34 } }, "typeParameters": { "type": "TypeParameterInstantiation", "start": 2670, "end": 2693, "loc": { "start": { "line": 101, "column": 11 }, "end": { "line": 101, "column": 34 } }, "params": [ { "type": "GenericTypeAnnotation", "start": 2671, "end": 2692, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 33 } }, "typeParameters": null, "id": { "type": "Identifier", "start": 2671, "end": 2692, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 33 }, "identifierName": "HullContextWithClient" }, "name": "HullContextWithClient" } } ] }, "id": { "type": "Identifier", "start": 2664, "end": 2670, "loc": { "start": { "line": 101, "column": 5 }, "end": { "line": 101, "column": 11 }, "identifierName": "$Exact" }, "name": "$Exact" } } } TypeError: Cannot read property 'name' of undefined at [...]/documentation/lib/infer/properties.js:46:62 at Array.forEach (<anonymous>) at inferProperties ([...]/documentation/lib/infer/properties.js:44:24) at Array.inferProperties ([...]/documentation/lib/infer/properties.js:61:7) at comment ([...]/documentation/lib/index.js:39:25) at Array.map (<anonymous>) at [...]/documentation/lib/index.js:95:48 at arrayMap ([...]/documentation/node_modules/lodash/lodash.js:631:23) at map ([...]/documentation/node_modules/lodash/lodash.js:9546:14) at Function.flatMap ([...]/documentation/node_modules/lodash/lodash.js:9249:26) ```
Checkout instances of TODO in repo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.