diff --git a/app/app.tsx b/app/app.tsx index e23e6d5..fbcf377 100644 --- a/app/app.tsx +++ b/app/app.tsx @@ -14,11 +14,12 @@ import { ConnectedRouter } from 'react-router-redux' // - Import app components import Master from 'components/Master' -// - Impport actions +declare const window: any +declare const document: any // Set default data -store.subscribe(() => { -}) +// tslint:disable-next-line:no-empty +store.subscribe(() => {}) // Needed for onTouchTap // http://stackoverflow.com/a/34015469/988941 @@ -29,13 +30,10 @@ injectTapEventPlugin() // More on Colors: http://www.material-ui.com/#/customization/colors const muiTheme = getMuiTheme({ - }) - - // App css -require('applicationStyles') +import 'applicationStyles' const supportsHistory = 'pushState' in window.history ReactDOM.render( diff --git a/package.json b/package.json index 0442709..43f4929 100644 --- a/package.json +++ b/package.json @@ -85,6 +85,7 @@ "ts-loader": "^2.3.7", "ts-node": "^3.3.0", "tslint": "^5.7.0", + "tslint-config-standard": "^6.0.1", "typescript": "^2.5.3", "webpack": "^3.6.0" }, diff --git a/tslint.json b/tslint.json new file mode 100644 index 0000000..508bcac --- /dev/null +++ b/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "tslint-config-standard" +} \ No newline at end of file