Skip to content
This repository has been archived by the owner on Oct 16, 2019. It is now read-only.

Fix relationships in jsdoc #16

Merged
merged 4 commits into from
Apr 9, 2018
Merged

Fix relationships in jsdoc #16

merged 4 commits into from
Apr 9, 2018

Conversation

Limess
Copy link
Contributor

@Limess Limess commented Apr 9, 2018

Relationships weren't appearing in the jsdocs due to no semi-colon separating the statement above the dynamic relationship definition.

This is a quirk in jsdoc parsing and I'm not sure of a way to fix it, so I unreluctantly enabled semi-colons on everything in prettier.

Charlie Briggs added 4 commits April 9, 2018 16:06
There's a legit use case here (aside from my happiness and sanity)

JSDoc doesn't recognise the comments for dynamically generated relationship functions,
as the previous statement is not terminated by a semi-colon

When adding a semi-colon to the previous statement, the docs are generated correctly
@coveralls
Copy link

Coverage Status

Coverage remained the same at 73.993% when pulling 688bab1 on relationship-docs into 08a2e53 on master.

@Limess Limess merged commit 8698e0b into master Apr 9, 2018
@Limess Limess deleted the relationship-docs branch April 9, 2018 15:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants