Skip to content

Commit

Permalink
rm babel flow
Browse files Browse the repository at this point in the history
  • Loading branch information
walexnelson committed Jun 8, 2017
1 parent a656260 commit 5e8fb15
Show file tree
Hide file tree
Showing 8 changed files with 625 additions and 714 deletions.
6 changes: 1 addition & 5 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@
"plugins": [
"transform-class-properties",
"transform-es2015-classes",
"react-hot-loader/babel",
["flow-runtime", {
"assert": true,
"annotate": true
}]
"react-hot-loader/babel"
]
}
}
Expand Down
4 changes: 0 additions & 4 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ app/node_modules
# OSX
.DS_Store

# flow-typed
flow-typed/npm/*
!flow-typed/npm/module_vx.x.x.js

# App packaged
release
app/main.prod.js
Expand Down
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ app/node_modules
# OSX
.DS_Store

# flow-typed
flow-typed/npm/*
!flow-typed/npm/module_vx.x.x.js

# App packaged
release
app/main.prod.js
Expand Down
2 changes: 1 addition & 1 deletion app/main.dev.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint global-require: 0, flowtype-errors/show-errors: 0 */
/* eslint global-require: 0 */

import { app, BrowserWindow, ipcMain } from 'electron';
import MenuBuilder from './utils/menu';
Expand Down
12 changes: 6 additions & 6 deletions app/routes.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/* eslint flowtype-errors/show-errors: 0 */
import React from 'react';
import { Switch, Route } from 'react-router';
import App from './containers/App';
import HomePage from './containers/Home';

import AppContainer from './containers/App';
import HomeContainer from './containers/Home';

export default () => (
<App>
<AppContainer>
<Switch>
<Route path="/" component={HomePage} />
<Route path="/" component={HomeContainer} />
</Switch>
</App>
</AppContainer>
);
1 change: 0 additions & 1 deletion app/store/reducers/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @flow
import { combineReducers } from 'redux';
import { loginReducer, INITIAL_STATE as loginState } from './login/login.reducer';

Expand Down
Loading

0 comments on commit 5e8fb15

Please sign in to comment.