Skip to content
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

Wrap words #10

Closed
gajus opened this issue Oct 9, 2015 · 0 comments
Closed

Wrap words #10

gajus opened this issue Oct 9, 2015 · 0 comments

Comments

@gajus
Copy link
Owner

gajus commented Oct 9, 2015

The auto-wrapping functionality should be able to wrap lines respecting word barriers.

In the current output, string is chunked into rows simply using length delimiter, e.g.

║ Message                                                ║
╟────────────────────────────────────────────────────────╢
║ Definition for rule 'jsdoc/check-returns-types' wa     ║
║ s not found                                            ║
╟────────────────────────────────────────────────────────╢
║ Definition for rule 'jsdoc/check-types' was not fo     ║
║ und                                                    ║
╟────────────────────────────────────────────────────────╢
║ Definition for rule 'jsdoc/require-param' was not      ║
║ found                                                  ║
╟────────────────────────────────────────────────────────╢
║ Definition for rule 'jsdoc/require-returns-descrip     ║
║ tion' was not found                                    ║
╟────────────────────────────────────────────────────────╢
║ Definition for rule 'jsdoc/require-returns-types'      ║
║ was not found                                          ║
╟────────────────────────────────────────────────────────╢
║ Variables within the same declaration block should     ║
║ be sorted alphabetically                               ║
╟────────────────────────────────────────────────────────╢
║ "lintFiles" is defined but never used                  ║
╟────────────────────────────────────────────────────────╢
║ Missing JSDoc @returns for function                    ║

It should use word (space) or special character barrier when possible, e.g.

║ Message                                                ║
╟────────────────────────────────────────────────────────╢
║ Definition for rule 'jsdoc/check-returns-types'        ║
║ was not found                                          ║
╟────────────────────────────────────────────────────────╢
║ Definition for rule 'jsdoc/check-types' was not        ║
║ found                                                  ║
╟────────────────────────────────────────────────────────╢
║ Definition for rule 'jsdoc/require-param' was not      ║
║ found                                                  ║
╟────────────────────────────────────────────────────────╢
║ Definition for rule                                    ║
║ 'jsdoc/require-returns-description' was not found      ║
╟────────────────────────────────────────────────────────╢
║ Definition for rule 'jsdoc/require-returns-types'      ║
║ was not found                                          ║
╟────────────────────────────────────────────────────────╢
║ Variables within the same declaration block should     ║
║ be sorted alphabetically                               ║
╟────────────────────────────────────────────────────────╢
║ "lintFiles" is defined but never used                  ║
╟────────────────────────────────────────────────────────╢
║ Missing JSDoc @returns for function                    ║
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant