For reasons outside my control, a codebase I maintain is linted with in two different environments with two different rule-sets. One of the environments has rules the other doesn't. The build in the second is failing due to "definition for rule '{custom_rule}' was not found" errors.
Again, for reasons outside my control, I can't merge the rulesets. How can I disable these "definition not found" errors on ESLint, so my build succeeds?
EDIT: To clarify, I have something like this:
11 ...
12 // eslint-disable-next-line custom-rule
13 var thing = new Thing();
14 ...
And the error is something like the following:
12:3 error Definition for rule 'custom-rule' was not found fb-www/extra-arrow-initializer
