From 9fd17d98ff3ecae91c1e870eeed310a71530ea9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ndor=20Bal=C3=A1zs?= Date: Tue, 11 Apr 2017 11:13:22 +0200 Subject: [PATCH] react-widgets: add tslint.json --- types/react-widgets/react-widgets-tests.tsx | 12 +++++------- types/react-widgets/tslint.json | 1 + 2 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 types/react-widgets/tslint.json diff --git a/types/react-widgets/react-widgets-tests.tsx b/types/react-widgets/react-widgets-tests.tsx index 156a639408..8efd554299 100644 --- a/types/react-widgets/react-widgets-tests.tsx +++ b/types/react-widgets/react-widgets-tests.tsx @@ -1,7 +1,7 @@ -import * as React from "react" -import * as ReactDOM from "react-dom" +import * as React from "react"; +import * as ReactDOM from "react-dom"; -import { Calendar, Combobox, DateTimePicker, DropdownList, Multiselect, NumberPicker, SelectList } from "react-widgets" +import { Calendar, Combobox, DateTimePicker, DropdownList, Multiselect, NumberPicker, SelectList } from "react-widgets"; function tagComponent(props: { value: string }) { return {props.value}; @@ -12,7 +12,6 @@ function itemComponent(props: { value: string }) { } class Test extends React.Component, {}> { - render() { return (
@@ -56,7 +55,6 @@ class Test extends React.Component, {}> {
- ) + ); } - -} \ No newline at end of file +} diff --git a/types/react-widgets/tslint.json b/types/react-widgets/tslint.json new file mode 100644 index 0000000000..2221e40e4a --- /dev/null +++ b/types/react-widgets/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } \ No newline at end of file