We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Escaping new lines count as a single line instead of multiple lines which allow functions to have more than 25 lines, breaking the following rule:
Each function must be maximum 25 lines, not counting the function’s own curly brackets.
Erroneous code
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* norm.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: ribana-b <[email protected]> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/06/28 11:54:13 by ribana-b #+# #+# Malaga */ /* Updated: 2024/06/28 11:57:08 by ribana-b ### ########.com */ /* */ /* ************************************************************************** */ #include <stdio.h> int main(void) { printf("Line 1\n\ Line 2\n\ Line 3\n\ Line 4\n\ Line 5\n\ Line 6\n\ Line 7\n\ Line 8\n\ Line 9\n\ Line 10\n\ Line 11\n\ Line 12\n\ Line 13\n\ Line 14\n\ Line 15\n\ Line 16\n\ Line 17\n\ Line 18\n\ Line 19\n\ Line 20\n\ Line 21\n\ Line 22\n\ Line 23\n\ Line 24\n\ Line 25\n\ Line 26\n\ Line 27\n\ Line 28\n"); return (0); }
Additional infos
$ norminette --version norminette 3.3.55
Additional context
Here's an image showing the bug:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Escaping new lines count as a single line instead of multiple lines which allow functions to have more than 25 lines, breaking the following rule:
Erroneous code
Additional infos
Additional context
Here's an image showing the bug:
The text was updated successfully, but these errors were encountered: