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
Our code base has suffered over the years because contributors ignored linting errors
We created a eslint_disable_check.py script to detect the use of the eslint-disable string in files submitted in the PR
NOTE: The script must fail when:
any of the many variants of eslint-disable are discovered
any future variants of eslint-disable are created
In other words when any of these are discovered at the beginning of any line after stripping white space at the ends and duplicate within multiple white space
// eslint-disable
/* eslint-disable
Your solution must cover any of the options found on the official eslint page
Describe the bug
eslint_disable_check.py
script to detect the use of theeslint-disable
string in files submitted in the PReslint-disable
are discoveredeslint-disable
are created// eslint-disable
/* eslint-disable
eslint_disable_check.py
script #2257To Reproduce
Steps to reproduce the behavior:
// eslint-disable-next-line @typescript-eslint/no-unused-vars
Expected behavior
// eslint-disable-next-line @typescript-eslint/no-unused-vars
Actual behavior
Screenshots
Additional details
The same person should be assigned to both these issues
eslint_disable_check.py
script talawa-api#2519eslint_disable_check.py
script #2257Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship
The text was updated successfully, but these errors were encountered: