From 2d07e238f063d9a91a2d0a29594009b713670c58 Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Sat, 28 Jan 2017 19:19:41 -0800 Subject: [PATCH] no-unbound-method: Add JSX test (#2115) --- test/rules/no-unbound-method/test.ts.lint | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/rules/no-unbound-method/test.ts.lint b/test/rules/no-unbound-method/test.ts.lint index 8b435583dd4..b23e2bf9213 100644 --- a/test/rules/no-unbound-method/test.ts.lint +++ b/test/rules/no-unbound-method/test.ts.lint @@ -25,4 +25,8 @@ i.foo; ~~~~~ [0] i.bar; + +; + ~~~~~~~~ [0] + [0]: Avoid referencing unbound methods which may cause unintentional scoping of 'this'.