-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix eslint config * Update eslintrc * Remove package-lock.json * Change from js to jsx * Remove package-lock.json * CR comments * fix linting errors and add js tests to the build
- Loading branch information
Showing
17 changed files
with
53 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
dist/ | ||
coverage-html/ | ||
venv/ | ||
google_appengine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
module.exports = { | ||
'extends': 'airbnb', | ||
'env': { | ||
'browser': true | ||
} | ||
"extends": "airbnb", | ||
"rules": { | ||
"react/jsx-filename-extension": ["warn", { "extensions": [".js"] } ] | ||
}, | ||
"env": { | ||
"browser": true | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import Header from './components/Header'; | ||
import Footer from './components/Footer'; | ||
|
||
function App(props) { | ||
return ( | ||
<div> | ||
<Header /> | ||
{props.children} | ||
<Footer /> | ||
</div> | ||
); | ||
} | ||
|
||
App.propTypes = { | ||
children: PropTypes.object.isRequired, // eslint-disable-line react/forbid-prop-types | ||
}; | ||
|
||
export default App; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,3 @@ ReactDOM.render( | |
</Provider>, | ||
document.querySelector('#container'), | ||
); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from 'react'; | ||
import { Route, IndexRoute } from 'react-router'; | ||
|
||
import MetricsList from './containers/MetricsList'; | ||
import MeetingRequest from './containers/MeetingRequest'; | ||
import User from './containers/User'; | ||
import App from './App'; | ||
|
||
|
||
export default ( | ||
<Route path="/" component={App}> | ||
<IndexRoute component={User} /> | ||
<Route path="/dashboard" component={MetricsList} /> | ||
<Route path="/user/:email" component={User} /> | ||
<Route path="/meeting_request/:id" component={MeetingRequest} /> | ||
</Route> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters