-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
fix: Alignment fixer should use indentation character from sourceCode. #412
Conversation
Please add a test case. |
Uncovered some inconsistency with how each line trimmed before evaluation while working through the test. Let me know if there's anything else with this update that should be addressed. |
- Testing: Add test cases for jsdoc blocks flush at beginning of line
Nice work! I've added a couple test cases to ensure we're ok flush at the beginning of a line, and those tests pass as well. If you may be so inspired to help with any other indentation-impinging issues (e.g., #369, #199 , #211, or the |
🎉 This PR is included in version 15.12.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
addresses #368
There were a few other areas where
' '.repeat
is used that probably need to be looked into further, as I believe they apply to rules other than "check-alignment".