Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(eslint-plugin): added new rule unbound-method #204

2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/rules/unbound-method.ts
Expand Up @@ -53,7 +53,7 @@ export default util.createRule<Options, MessageIds>({
const checker = parserServices.program.getTypeChecker();

return {
MemberExpression(node) {
[AST_NODE_TYPES.MemberExpression](node: TSESTree.MemberExpression) {
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
if (isSafeUse(node)) {
return;
}
Expand Down