You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Yes, the current workflow does not automatically detect or flag instances where:
Code coverage is bypassed using comments like /* istanbul ignore next / or / istanbul ignore file */.
ESLint rules are disabled using comments like /* eslint-disable / or / eslint-disable-next-line */.
These statements can bypass essential checks and affect code quality or test coverage reporting.
Describe the solution you'd like
Implement a GitHub Action that:
Scans for Code Coverage Bypass Comments:
Detects /* istanbul ignore next /, / istanbul ignore file */, and other related comments in PRs.
Fails the workflow if such comments are detected without proper justification.
Scans for ESLint Disable Comments:
Detects /* eslint-disable /, / eslint-disable-next-line */, and similar comments in the code.
Ensures that any disabled rule is logged and flagged for manual review.
The text was updated successfully, but these errors were encountered:
Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.
Is your feature request related to a problem? Please describe.
Yes, the current workflow does not automatically detect or flag instances where:
These statements can bypass essential checks and affect code quality or test coverage reporting.
Describe the solution you'd like
Implement a GitHub Action that:
Detects /* istanbul ignore next /, / istanbul ignore file */, and other related comments in PRs.
Fails the workflow if such comments are detected without proper justification.
Detects /* eslint-disable /, / eslint-disable-next-line */, and similar comments in the code.
Ensures that any disabled rule is logged and flagged for manual review.
The text was updated successfully, but these errors were encountered: