diff --git a/packages/demo-react/src/components/home.js b/packages/demo-react/src/components/home.js index 75d1bd81..0a45fd6d 100644 --- a/packages/demo-react/src/components/home.js +++ b/packages/demo-react/src/components/home.js @@ -13,11 +13,16 @@ class Hello extends Component { this.isHero = props.isHero ? props.isHero : false; } render() { + // skipcq: JS-0005 + debugger; + console.log("a"); // skipcq: JS-0002 return ( -

console.log('Should not use bind in JSX props')}> - Unsafe Linking in React - {this.isTitleAvailable ? this.title : `Welcome to DeepSource`} -

+
+

console.log('Should not use bind in JSX props')}> { /* skipcq: JS-0760, JS-0002 */ } + Unsafe Linking in React + {this.isTitleAvailable ? this.title : `Welcome to DeepSource`} +

+
); } }