-
Notifications
You must be signed in to change notification settings - Fork 28
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
feat: adds no-extra-spacing-text #215
Conversation
*/ | ||
function stripConsecutiveSpaces(node) { | ||
const text = node.value; | ||
const matcher = /(^|[^\n \t])([ \t]{2,})($|[^\n \t])/g; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yeonjuan Added!
fc266b9
to
11e7a51
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!! Thank you for doing this work.
Hello i dont see this rule in the website, the doc is updated ? |
This adds a rule to prevent unnecessary whitespace in text.