Skip to content

test(no-types): check that the fix for no-types preserves asterisks #447

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

Merged
merged 2 commits into from
May 6, 2020

Conversation

skeggse
Copy link
Contributor

@skeggse skeggse commented Dec 14, 2019

Currently, the fix for no-types results in the removal of some asterisks from multiline descriptions. This makes eslint-plugin-jsdoc somewhat jarring to adopt.

The proper fix here probably requires syavorsky/comment-parser#74.

@skeggse skeggse changed the title test(no-types): check the fix for no-types preserves asterisks test(no-types): check that the fix for no-types preserves asterisks Dec 14, 2019
@brettz9
Copy link
Collaborator

brettz9 commented Dec 23, 2019

I see this is not working even after the comment-parser update.

@brettz9 brettz9 force-pushed the no-fix-break-multiline branch from f2cd7ab to 97b1b5e Compare May 2, 2020 10:36
brettz9 added a commit to skeggse/eslint-plugin-jsdoc that referenced this pull request May 2, 2020
fix: remove last line break in last tag description for proper stringification (and fix old tests)
@brettz9
Copy link
Collaborator

brettz9 commented May 2, 2020

Btw, I've filed syavorsky/comment-parser#78 which should fix the underlying issue, and then once it may be merged, I've added a commit to your PR which should get things fixed on our end as well.

brettz9 added a commit to skeggse/eslint-plugin-jsdoc that referenced this pull request May 3, 2020
fix: remove last line break in last tag description for proper stringification (and fix old tests)

Impacts `check-param-names`, `check-property-names`, `empty-tags`, `no-defaults`, `no-types`, `require-example`, `require-param`, `require-property`
@brettz9 brettz9 force-pushed the no-fix-break-multiline branch from 97b1b5e to 0d930ea Compare May 3, 2020 00:47
Currently, the fix for `no-types` results in the removal of some asterisks from multiline
descriptions. This makes eslint-plugin-jsdoc somewhat jarring to adopt.
@brettz9 brettz9 force-pushed the no-fix-break-multiline branch 2 times, most recently from 9ae1c34 to ad5e376 Compare May 6, 2020 08:04
…eak in last tag description for proper stringification (and fix old tests)

Impacts `check-param-names`, `check-property-names`, `empty-tags`, `no-defaults`, `no-types`, `require-example`, `require-param`, `require-property`.

Also updating other devDeps.
@brettz9 brettz9 force-pushed the no-fix-break-multiline branch from ad5e376 to 5b6ebc2 Compare May 6, 2020 08:29
@brettz9 brettz9 marked this pull request as ready for review May 6, 2020 08:32
@brettz9 brettz9 merged commit fdf129b into gajus:master May 6, 2020
@gajus
Copy link
Owner

gajus commented May 6, 2020

🎉 This PR is included in version 24.0.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gajus gajus added the released label May 6, 2020
@brettz9
Copy link
Collaborator

brettz9 commented May 6, 2020

If you already updated, please update further to 24.0.6 as it includes some fixes for a regression introduced in 24.0.3 (on which this merged PR built).

@skeggse skeggse deleted the no-fix-break-multiline branch October 15, 2020 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants