Don't complain about private methods

This commit is contained in:
Jordan Eldredge 2019-08-24 21:46:16 -07:00
parent b67ebc2ca2
commit b52879475f

View file

@ -96,6 +96,10 @@ module.exports = {
return;
}
if (methodName.startsWith("_")) {
return;
}
const func = methods[methodName];
if (func == null) {
context.report({