aboutsummaryrefslogtreecommitdiff
path: root/src/debug/Test.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-04-08 22:45:22 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-04-08 22:45:22 -0400
commit5e086920bf97297a02bcd38faea56454c2220279 (patch)
tree9b7fa3ec3df3a522b5676dc743afc17ef2b5cf09 /src/debug/Test.tsx
parentcecbafdd8e42b1fa021a54fe624c3cf68e8645bd (diff)
Enabled semi-colon and braces linter rule
Diffstat (limited to 'src/debug/Test.tsx')
-rw-r--r--src/debug/Test.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/debug/Test.tsx b/src/debug/Test.tsx
index c8de33f41..11f2b0c4e 100644
--- a/src/debug/Test.tsx
+++ b/src/debug/Test.tsx
@@ -1,10 +1,10 @@
import * as React from 'react';
import * as ReactDOM from 'react-dom';
-import JsxParser from 'react-jsx-parser'
+import JsxParser from 'react-jsx-parser';
class Hello extends React.Component<{ firstName: string, lastName: string }> {
render() {
- return <div>Hello {this.props.firstName} {this.props.lastName}</div>
+ return <div>Hello {this.props.firstName} {this.props.lastName}</div>;
}
}
@@ -16,8 +16,8 @@ class Test extends React.Component {
firstName: "First",
lastName: "Last"
}
- }
- return <JsxParser jsx={jsx} bindings={bindings} components={{ Hello }}></JsxParser>
+ };
+ return <JsxParser jsx={jsx} bindings={bindings} components={{ Hello }}></JsxParser>;
}
}