Commit e4795bc9 authored by Wietse Kuipers's avatar Wietse Kuipers
Browse files

Switch to airbnb style guide and upgrade some packages

parent db42a1e7
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
"indent": [ "indent": [
"error", "error",
2, 2,
{"Switchcase": true} {"SwitchCase": 1}
], ],
"linebreak-style": [ "linebreak-style": [
"error", "error",
......
...@@ -13,5 +13,5 @@ New and improved ThaliApp ...@@ -13,5 +13,5 @@ New and improved ThaliApp
Ensure that the development server is started with `react-native start`. Ensure that the development server is started with `react-native start`.
Deploy the app on a running emulator or connected Android Phone with `react-native run-android`. Deploy the app on a running emulator or connected Android Phone with `react-native run-android`.
##Debugging ## Debugging
Open the console with `react-native log-android`. Open the console with `react-native log-android`.
...@@ -2,6 +2,6 @@ import * as types from './actionTypes'; ...@@ -2,6 +2,6 @@ import * as types from './actionTypes';
export function login() { export function login() {
return { return {
type: types.LOGIN type: types.LOGIN,
}; };
} }
import React, {Component} from 'react'; import React, { Component } from 'react';
import {View, Text, TextInput, Button} from 'react-native'; import { View, Text, TextInput, Button } from 'react-native';
export default class Login extends Component { export default class Login extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
this.state = {
username: '',
password: '',
};
} }
render() { render() {
const { loggedIn, login } = this.props; const { loggedIn, login } = this.props;
console.log(loggedIn);
return ( return (
<View> <View>
<TextInput <TextInput
placeholder="Username" placeholder="Username"
/> />
<TextInput <TextInput
placeholder="Password" placeholder="Password"
secureTextEntry={true} secureTextEntry
/> />
<Button title="Log in" onPress={login}/> <Button title="Log in" onPress={login} />
<Text>{loggedIn ? 'MEMES' : 'MMS'}</Text> <Text>{loggedIn ? 'MEMES' : 'MMS'}</Text>
</View> </View>
); );
} }
......
import React,{Component} from 'react'; import React, { Component } from 'react';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import Login from '../components/Login'; import Login from '../components/Login';
import {bindActionCreators} from 'redux';
import * as ThaliAppActions from '../actions/ThaliAppActions'; import * as ThaliAppActions from '../actions/ThaliAppActions';
import { connect } from 'react-redux';
class ThaliApp extends Component { class ThaliApp extends Component {
constructor(props) {
super(props);
}
render() { render() {
const { state, actions } = this.props; const { state, actions } = this.props;
return ( return (
<Login <Login
loggedIn={state.loggedIn} loggedIn={state.loggedIn}
{...actions} {...actions}
/> />
); );
} }
...@@ -22,9 +19,9 @@ class ThaliApp extends Component { ...@@ -22,9 +19,9 @@ class ThaliApp extends Component {
export default connect( export default connect(
state => ( state => (
{state: state.login} { state: state.login }
),
dispatch => (
{ actions: bindActionCreators(ThaliAppActions, dispatch) }
), ),
(dispatch) => (
{actions: bindActionCreators(ThaliAppActions, dispatch)}
)
)(ThaliApp); )(ThaliApp);
import React, {Component} from 'react'; import React, { Component } from 'react';
import { createStore, applyMiddleware, combineReducers } from 'redux'; import { createStore, applyMiddleware, combineReducers } from 'redux';
import { Provider } from 'react-redux'; import { Provider } from 'react-redux';
import thunk from 'redux-thunk'; import thunk from 'redux-thunk';
...@@ -14,7 +14,7 @@ export default class App extends Component { ...@@ -14,7 +14,7 @@ export default class App extends Component {
render() { render() {
return ( return (
<Provider store={store}> <Provider store={store}>
<ThaliApp /> <ThaliApp />
</Provider> </Provider>
); );
} }
......
import login from './login'; import login from './login';
export { export {
login login,
}; };
import * as types from '../actions/actionTypes'; import * as types from '../actions/actionTypes';
const initialState = { const initialState = {
loggedIn: false loggedIn: false,
}; };
export default function login(state = initialState, action = {}) { export default function login(state = initialState, action = {}) {
console.log(state);
switch (action.type) { switch (action.type) {
case types.LOGIN: case types.LOGIN:
console.log({...state, loggedIn: true}); return { ...state, loggedIn: true };
return {...state, loggedIn: true};
default: default:
return {...state}; return { ...state };
} }
} }
import {StyleSheet, Dimensions} from 'react-native'; import { StyleSheet, Dimensions } from 'react-native';
let magenta = '#E62272'; const magenta = '#E62272';
let deviceWidth = Dimensions.get('window').width; const deviceWidth = Dimensions.get('window').width;
let deviceHeigth = Dimensions.get('window').heigth; const deviceHeigth = Dimensions.get('window').heigth;
let margin = 10; const margin = 10;
const styles = StyleSheet.create({ const styles = StyleSheet.create({
body : { body: {
padding: 10, padding: 10,
flex: 1, flex: 1,
flexDirection: 'column', flexDirection: 'column',
alignItems: 'center' alignItems: 'center',
}, },
bodyText: { bodyText: {
fontFamily: 'opensans', fontFamily: 'opensans',
}, },
textInput: { textInput: {
alignSelf: 'stretch' alignSelf: 'stretch',
}, },
logo: { logo: {
width: deviceWidth - margin, width: deviceWidth - margin,
resizeMode: 'contain' resizeMode: 'contain',
}, },
button: { button: {
color: magenta color: magenta,
} },
}); });
export {styles}; export { styles };
...@@ -219,7 +219,7 @@ babel-code-frame@^6.16.0, babel-code-frame@^6.22.0: ...@@ -219,7 +219,7 @@ babel-code-frame@^6.16.0, babel-code-frame@^6.22.0:
esutils "^2.0.2" esutils "^2.0.2"
js-tokens "^3.0.0" js-tokens "^3.0.0"
babel-core@^6.0.0, babel-core@^6.18.2, babel-core@^6.22.0, babel-core@^6.7.2: babel-core@^6.0.0, babel-core@^6.21.0, babel-core@^6.22.0, babel-core@^6.7.2:
version "6.22.1" version "6.22.1"
resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.22.1.tgz#9c5fd658ba1772d28d721f6d25d968fc7ae21648" resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.22.1.tgz#9c5fd658ba1772d28d721f6d25d968fc7ae21648"
dependencies: dependencies:
...@@ -253,7 +253,7 @@ babel-eslint@7.1.1, babel-eslint@^7.1.1: ...@@ -253,7 +253,7 @@ babel-eslint@7.1.1, babel-eslint@^7.1.1:
babylon "^6.13.0" babylon "^6.13.0"
lodash.pickby "^4.6.0" lodash.pickby "^4.6.0"
babel-generator@^6.18.0, babel-generator@^6.19.0, babel-generator@^6.22.0: babel-generator@^6.18.0, babel-generator@^6.21.0, babel-generator@^6.22.0:
version "6.22.0" version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.22.0.tgz#d642bf4961911a8adc7c692b0c9297f325cda805" resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.22.0.tgz#d642bf4961911a8adc7c692b0c9297f325cda805"
dependencies: dependencies:
...@@ -414,7 +414,7 @@ babel-plugin-syntax-object-rest-spread@^6.5.0, babel-plugin-syntax-object-rest-s ...@@ -414,7 +414,7 @@ babel-plugin-syntax-object-rest-spread@^6.5.0, babel-plugin-syntax-object-rest-s
version "6.13.0" version "6.13.0"
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5"
babel-plugin-syntax-trailing-function-commas@^6.13.0, babel-plugin-syntax-trailing-function-commas@^6.5.0, babel-plugin-syntax-trailing-function-commas@^6.8.0: babel-plugin-syntax-trailing-function-commas@^6.20.0, babel-plugin-syntax-trailing-function-commas@^6.5.0, babel-plugin-syntax-trailing-function-commas@^6.8.0:
version "6.22.0" version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3"
...@@ -570,7 +570,7 @@ babel-plugin-transform-es3-property-literals@^6.5.0, babel-plugin-transform-es3- ...@@ -570,7 +570,7 @@ babel-plugin-transform-es3-property-literals@^6.5.0, babel-plugin-transform-es3-
dependencies: dependencies:
babel-runtime "^6.22.0" babel-runtime "^6.22.0"
babel-plugin-transform-flow-strip-types@^6.18.0, babel-plugin-transform-flow-strip-types@^6.5.0, babel-plugin-transform-flow-strip-types@^6.7.0, babel-plugin-transform-flow-strip-types@^6.8.0: babel-plugin-transform-flow-strip-types@^6.21.0, babel-plugin-transform-flow-strip-types@^6.5.0, babel-plugin-transform-flow-strip-types@^6.7.0, babel-plugin-transform-flow-strip-types@^6.8.0:
version "6.22.0" version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz#84cb672935d43714fdc32bce84568d87441cf7cf" resolved "https://registry.yarnpkg.com/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz#84cb672935d43714fdc32bce84568d87441cf7cf"
dependencies: dependencies:
...@@ -583,7 +583,7 @@ babel-plugin-transform-object-assign@^6.5.0: ...@@ -583,7 +583,7 @@ babel-plugin-transform-object-assign@^6.5.0:
dependencies: dependencies:
babel-runtime "^6.22.0" babel-runtime "^6.22.0"
babel-plugin-transform-object-rest-spread@^6.19.0, babel-plugin-transform-object-rest-spread@^6.5.0, babel-plugin-transform-object-rest-spread@^6.6.5, babel-plugin-transform-object-rest-spread@^6.8.0: babel-plugin-transform-object-rest-spread@^6.20.2, babel-plugin-transform-object-rest-spread@^6.5.0, babel-plugin-transform-object-rest-spread@^6.6.5, babel-plugin-transform-object-rest-spread@^6.8.0:
version "6.22.0" version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.22.0.tgz#1d419b55e68d2e4f64a5ff3373bd67d73c8e83bc" resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.22.0.tgz#1d419b55e68d2e4f64a5ff3373bd67d73c8e83bc"
dependencies: dependencies:
...@@ -624,7 +624,7 @@ babel-plugin-transform-strict-mode@^6.22.0: ...@@ -624,7 +624,7 @@ babel-plugin-transform-strict-mode@^6.22.0:
babel-runtime "^6.22.0" babel-runtime "^6.22.0"
babel-types "^6.22.0" babel-types "^6.22.0"
babel-polyfill@^6.16.0: babel-polyfill@^6.20.0:
version "6.22.0" version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.22.0.tgz#1ac99ebdcc6ba4db1e2618c387b2084a82154a3b" resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.22.0.tgz#1ac99ebdcc6ba4db1e2618c387b2084a82154a3b"
dependencies: dependencies:
...@@ -714,7 +714,7 @@ babel-preset-jest@^18.0.0: ...@@ -714,7 +714,7 @@ babel-preset-jest@^18.0.0:
dependencies: dependencies:
babel-plugin-jest-hoist "^18.0.0" babel-plugin-jest-hoist "^18.0.0"
babel-preset-react-native@1.9.1, babel-preset-react-native@^1.9.0: babel-preset-react-native@1.9.1, babel-preset-react-native@^1.9.1:
version "1.9.1" version "1.9.1"
resolved "https://registry.yarnpkg.com/babel-preset-react-native/-/babel-preset-react-native-1.9.1.tgz#ec8e378274410d78f550fa9f8edd70353f3bb2fe" resolved "https://registry.yarnpkg.com/babel-preset-react-native/-/babel-preset-react-native-1.9.1.tgz#ec8e378274410d78f550fa9f8edd70353f3bb2fe"
dependencies: dependencies:
...@@ -760,7 +760,7 @@ babel-register@^6.18.0, babel-register@^6.22.0: ...@@ -760,7 +760,7 @@ babel-register@^6.18.0, babel-register@^6.22.0:
mkdirp "^0.5.1" mkdirp "^0.5.1"
source-map-support "^0.4.2" source-map-support "^0.4.2"
babel-runtime@^6.18.0, babel-runtime@^6.22.0: babel-runtime@^6.18.0, babel-runtime@^6.20.0, babel-runtime@^6.22.0:
version "6.22.0" version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.22.0.tgz#1cf8b4ac67c77a4ddb0db2ae1f74de52ac4ca611" resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.22.0.tgz#1cf8b4ac67c77a4ddb0db2ae1f74de52ac4ca611"
dependencies: dependencies:
...@@ -777,7 +777,7 @@ babel-template@^6.16.0, babel-template@^6.22.0: ...@@ -777,7 +777,7 @@ babel-template@^6.16.0, babel-template@^6.22.0:
babylon "^6.11.0" babylon "^6.11.0"
lodash "^4.2.0" lodash "^4.2.0"
babel-traverse@^6.15.0, babel-traverse@^6.18.0, babel-traverse@^6.19.0, babel-traverse@^6.22.0, babel-traverse@^6.22.1: babel-traverse@^6.15.0, babel-traverse@^6.18.0, babel-traverse@^6.21.0, babel-traverse@^6.22.0, babel-traverse@^6.22.1:
version "6.22.1" version "6.22.1"
resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.22.1.tgz#3b95cd6b7427d6f1f757704908f2fc9748a5f59f" resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.22.1.tgz#3b95cd6b7427d6f1f757704908f2fc9748a5f59f"
dependencies: dependencies:
...@@ -791,7 +791,7 @@ babel-traverse@^6.15.0, babel-traverse@^6.18.0, babel-traverse@^6.19.0, babel-tr ...@@ -791,7 +791,7 @@ babel-traverse@^6.15.0, babel-traverse@^6.18.0, babel-traverse@^6.19.0, babel-tr
invariant "^2.2.0" invariant "^2.2.0"
lodash "^4.2.0" lodash "^4.2.0"
babel-types@^6.15.0, babel-types@^6.18.0, babel-types@^6.19.0, babel-types@^6.22.0: babel-types@^6.15.0, babel-types@^6.18.0, babel-types@^6.19.0, babel-types@^6.21.0, babel-types@^6.22.0:
version "6.22.0" version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.22.0.tgz#2a447e8d0ea25d2512409e4175479fd78cc8b1db" resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.22.0.tgz#2a447e8d0ea25d2512409e4175479fd78cc8b1db"
dependencies: dependencies:
...@@ -898,23 +898,17 @@ browser-resolve@^1.11.2: ...@@ -898,23 +898,17 @@ browser-resolve@^1.11.2:
dependencies: dependencies:
resolve "1.1.7" resolve "1.1.7"
bser@1.0.2: bser@1.0.2, bser@^1.0.2:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/bser/-/bser-1.0.2.tgz#381116970b2a6deea5646dd15dd7278444b56169" resolved "https://registry.yarnpkg.com/bser/-/bser-1.0.2.tgz#381116970b2a6deea5646dd15dd7278444b56169"
dependencies: dependencies:
node-int64 "^0.4.0" node-int64 "^0.4.0"
bser@^1.0.2:
version "1.0.3"
resolved "https://registry.yarnpkg.com/bser/-/bser-1.0.3.tgz#d63da19ee17330a0e260d2a34422b21a89520317"
dependencies:
node-int64 "^0.4.0"
buffer-shims@^1.0.0: buffer-shims@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51" resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51"
builtin-modules@^1.0.0: builtin-modules@^1.0.0, builtin-modules@^1.1.1:
version "1.1.1" version "1.1.1"
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f"
...@@ -1133,6 +1127,10 @@ connect@^2.8.3: ...@@ -1133,6 +1127,10 @@ connect@^2.8.3:
utils-merge "1.0.0" utils-merge "1.0.0"
vhost "~3.0.1" vhost "~3.0.1"
contains-path@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/contains-path/-/contains-path-0.1.0.tgz#fe8cf184ff6670b6baef01a9d4861a5cbec4120a"
content-type-parser@^1.0.1: content-type-parser@^1.0.1:
version "1.0.1" version "1.0.1"
resolved "https://registry.yarnpkg.com/content-type-parser/-/content-type-parser-1.0.1.tgz#c3e56988c53c65127fb46d4032a3a900246fdc94" resolved "https://registry.yarnpkg.com/content-type-parser/-/content-type-parser-1.0.1.tgz#c3e56988c53c65127fb46d4032a3a900246fdc94"
...@@ -1227,6 +1225,10 @@ d@^0.1.1, d@~0.1.1: ...@@ -1227,6 +1225,10 @@ d@^0.1.1, d@~0.1.1:
dependencies: dependencies:
es5-ext "~0.10.2" es5-ext "~0.10.2"
damerau-levenshtein@^1.0.0:
version "1.0.3"
resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.3.tgz#ae4f4ce0b62acae10ff63a01bb08f652f5213af2"
dashdash@^1.12.0: dashdash@^1.12.0:
version "1.14.1" version "1.14.1"
resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0"
...@@ -1237,6 +1239,12 @@ dateformat@^2.0.0: ...@@ -1237,6 +1239,12 @@ dateformat@^2.0.0:
version "2.0.0" version "2.0.0"
resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-2.0.0.tgz#2743e3abb5c3fc2462e527dca445e04e9f4dee17" resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-2.0.0.tgz#2743e3abb5c3fc2462e527dca445e04e9f4dee17"
debug@2.2.0, debug@~2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.2.0.tgz#f87057e995b1a1f6ae6a4960664137bc56f039da"
dependencies:
ms "0.7.1"
debug@2.3.3: debug@2.3.3:
version "2.3.3" version "2.3.3"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.3.3.tgz#40c453e67e6e13c901ddec317af8986cda9eff8c" resolved "https://registry.yarnpkg.com/debug/-/debug-2.3.3.tgz#40c453e67e6e13c901ddec317af8986cda9eff8c"
...@@ -1249,12 +1257,6 @@ debug@^2.1.1, debug@^2.2.0: ...@@ -1249,12 +1257,6 @@ debug@^2.1.1, debug@^2.2.0:
dependencies: dependencies:
ms "0.7.2" ms "0.7.2"
debug@~2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.2.0.tgz#f87057e995b1a1f6ae6a4960664137bc56f039da"
dependencies:
ms "0.7.1"
decamelize@^1.0.0, decamelize@^1.1.1: decamelize@^1.0.0, decamelize@^1.1.1:
version "1.2.0" version "1.2.0"
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
...@@ -1326,7 +1328,7 @@ diff@^3.0.0: ...@@ -1326,7 +1328,7 @@ diff@^3.0.0:
version "3.2.0" version "3.2.0"
resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9" resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9"
doctrine@^1.2.2: doctrine@1.5.0, doctrine@^1.2.2:
version "1.5.0" version "1.5.0"
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa"
dependencies: dependencies:
...@@ -1479,6 +1481,54 @@ escope@^3.6.0: ...@@ -1479,6 +1481,54 @@ escope@^3.6.0:
esrecurse "^4.1.0" esrecurse "^4.1.0"
estraverse "^4.1.1" estraverse "^4.1.1"
eslint-config-airbnb-base@^11.0.1:
version "11.1.0"
resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-11.1.0.tgz#dc9b3ec70b8c74dcbe6d6257c9da3992c39ca2ca"
eslint-config-airbnb@^14.0.0:
version "14.0.0"
resolved "https://registry.yarnpkg.com/eslint-config-airbnb/-/eslint-config-airbnb-14.0.0.tgz#bfd87a71102ba3ee19c3733357000b3d5e39790f"
dependencies:
eslint-config-airbnb-base "^11.0.1"
eslint-import-resolver-node@^0.2.0:
version "0.2.3"
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.2.3.tgz#5add8106e8c928db2cba232bcd9efa846e3da16c"
dependencies:
debug "^2.2.0"
object-assign "^4.0.1"
resolve "^1.1.6"
eslint-module-utils@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.0.0.tgz#a6f8c21d901358759cdc35dbac1982ae1ee58bce"
dependencies:
debug "2.2.0"
pkg-dir "^1.0.0"
eslint-plugin-import@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.2.0.tgz#72ba306fad305d67c4816348a4699a4229ac8b4e"
dependencies:
builtin-modules "^1.1.1"
contains-path "^0.1.0"
debug "^2.2.0"
doctrine "1.5.0"
eslint-import-resolver-node "^0.2.0"
eslint-module-utils "^2.0.0"
has "^1.0.1"
lodash.cond "^4.3.0"
minimatch "^3.0.3"
pkg-up "^1.0.0"
eslint-plugin-jsx-a11y@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-3.0.2.tgz#9f0eabcafde3d2a2600d96a66adb90d099e841fe"
dependencies:
damerau-levenshtein "^1.0.0"
jsx-ast-utils "^1.0.0"
object-assign "^4.0.1"
eslint-plugin-react-native@^2.2.1: eslint-plugin-react-native@^2.2.1:
version "2.2.1" version "2.2.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-react-native/-/eslint-plugin-react-native-2.2.1.tgz#9da90b76b234e6a71b06e2b9466b76f9017c16e0" resolved "https://registry.yarnpkg.com/eslint-plugin-react-native/-/eslint-plugin-react-native-2.2.1.tgz#9da90b76b234e6a71b06e2b9466b76f9017c16e0"
...@@ -1533,9 +1583,9 @@ eslint@3.12.0: ...@@ -1533,9 +1583,9 @@ eslint@3.12.0:
text-table "~0.2.0" text-table "~0.2.0"
user-home "^2.0.0" user-home "^2.0.0"
eslint@^3.14.1: eslint@^3.15.0:
version "3.14.1" version "3.15.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-3.14.1.tgz#8a62175f2255109494747a1b25128d97b8eb3d97" resolved "https://registry.yarnpkg.com/eslint/-/eslint-3.15.0.tgz#bdcc6a6c5ffe08160e7b93c066695362a91e30f2"
dependencies: dependencies:
babel-code-frame "^6.16.0" babel-code-frame "^6.16.0"
chalk "^1.1.3" chalk "^1.1.3"
...@@ -1543,7 +1593,7 @@ eslint@^3.14.1: ...@@ -1543,7 +1593,7 @@ eslint@^3.14.1:
debug "^2.1.1" debug "^2.1.1"
doctrine "^1.2.2" doctrine "^1.2.2"
escope "^3.6.0" escope "^3.6.0"
espree "^3.3.1" espree "^3.4.0"
estraverse "^4.2.0" estraverse "^4.2.0"
esutils "^2.0.2" esutils "^2.0.2"
file-entry-cache "^2.0.0" file-entry-cache "^2.0.0"
...@@ -1572,7 +1622,7 @@ eslint@^3.14.1: ...@@ -1572,7 +1622,7 @@ eslint@^3.14.1:
text-table "~0.2.0" text-table "~0.2.0"
user-home "^2.0.0" user-home "^2.0.0"
espree@^3.3.1: espree@^3.3.1, espree@^3.4.0:
version "3.4.0" version "3.4.0"
resolved "https://registry.yarnpkg.com/espree/-/espree-3.4.0.tgz#41656fa5628e042878025ef467e78f125cb86e1d" resolved "https://registry.yarnpkg.com/espree/-/espree-3.4.0.tgz#41656fa5628e042878025ef467e78f125cb86e1d"
dependencies: dependencies:
...@@ -1825,7 +1875,7 @@ fs.realpath@^1.0.0: ...@@ -1825,7 +1875,7 @@ fs.realpath@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
function-bind@^1.1.0: function-bind@^1.0.2, function-bind@^1.1.0: