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

Avoid wrapping name column in rules list #148

Merged
merged 1 commit into from
Oct 20, 2022
Merged

Avoid wrapping name column in rules list #148

merged 1 commit into from
Oct 20, 2022

Conversation

bmish
Copy link
Owner

@bmish bmish commented Oct 19, 2022

Fixes #110.

Requested here: sindresorhus/eslint-plugin-unicorn#1930 (comment)

We originally found this solution here:

It looks like the unicorn rule list name column wraps because of the long rule column descriptions present. By adding spaces to the name column, we can ensure the name column receives more width.

Adding spaces is not my favorite solution or the most elegant, but it's the best solution so far.

@bmish bmish added the bug Something isn't working label Oct 19, 2022
@bmish bmish force-pushed the name-col-wrap branch 3 times, most recently from c858ad6 to ce2893b Compare October 19, 2022 20:51
@bmish bmish marked this pull request as ready for review October 19, 2022 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid wrapping rule names in rule list
2 participants