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

Improve comments #455

Merged
merged 6 commits into from
Nov 20, 2023
Merged

Improve comments #455

merged 6 commits into from
Nov 20, 2023

Conversation

NiumXp
Copy link
Contributor

@NiumXp NiumXp commented Nov 15, 2023

Fixes #309, #439, #433.

Bugs that this PR solves

Wrong line reported when shows a LINE_TOO_LONG, reproduceable code:

/*
.............................................................................................*/

Actually, norminette says the first line is over 80 chars, but it's wrong. With 2869b27 fix, now it says correctly that is the second line over 80 chars. Related to #309 and #433

When norminette parses a comment like /*\*/ it will understand it as /*\**/, note that it "duplicates" the *, in #439 the * is a (space). Btw, this is fixed by 85ce872.

Notes

@matthieu42Network matthieu42Network merged commit 754f220 into 42School:master Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong line number for LINE_TOO_LONG in comment block
2 participants