Open apayetRun opened 1 year ago
During implementation of functional components, it appear that two rules must several times be bypassed (more than 30 times) to be validated by the eslint
eslint-disable max-statements https://eslint.org/docs/latest/rules/max-statements This rule enforces a maximum number of statements allowed in function blocks. eslint-disable max-lines-per-function https://eslint.org/docs/latest/rules/max-lines-per-function This rule enforces a maximum number of lines per function, in order to aid in maintainability and reduce complexity.
Need to research if we remove the error (will set as default values) or just customize the rule. (better solution. example: https://eslint.org/docs/latest/rules/max-statements#ignoretoplevelfunctions)
Or simply leave the comment to bypass the linter (Lazy Solution)
make check_norm_bypass to see bypassed rules
make check_norm_bypass
During implementation of functional components, it appear that two rules must several times be bypassed (more than 30 times) to be validated by the eslint
eslint-disable max-statements https://eslint.org/docs/latest/rules/max-statements This rule enforces a maximum number of statements allowed in function blocks. eslint-disable max-lines-per-function https://eslint.org/docs/latest/rules/max-lines-per-function This rule enforces a maximum number of lines per function, in order to aid in maintainability and reduce complexity.
Need to research if we remove the error (will set as default values) or just customize the rule. (better solution. example: https://eslint.org/docs/latest/rules/max-statements#ignoretoplevelfunctions)
Or simply leave the comment to bypass the linter (Lazy Solution)