Add tsling standard config #16
This commit is contained in:
12
app/app.tsx
12
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(
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
3
tslint.json
Normal file
3
tslint.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"extends": "tslint-config-standard"
|
||||
}
|
||||
Reference in New Issue
Block a user