diff --git a/.eslintrc b/.eslintrc index be435af2..e29f8784 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,7 +4,10 @@ "sourceType": "module", "allowImportExportEverywhere": true }, - "extends": "airbnb", + "extends": [ + "airbnb", + "plugin:react/recommended" + ], "env": { "browser": true, "node": true diff --git a/app/routes.js b/app/routes.js index bd62973d..b6442086 100644 --- a/app/routes.js +++ b/app/routes.js @@ -6,7 +6,7 @@ import Activity from './routes/activity' import Contacts from './routes/contacts' import Network from './routes/network' -export default () => ( +const routes = () => ( @@ -15,3 +15,5 @@ export default () => ( ) + +export default routes diff --git a/app/routes/contacts/components/Contacts.js b/app/routes/contacts/components/Contacts.js index d22c2337..63690200 100644 --- a/app/routes/contacts/components/Contacts.js +++ b/app/routes/contacts/components/Contacts.js @@ -148,23 +148,21 @@ class Contacts extends Component {