diff --git a/package.json b/package.json index a5f04b9e..cc28a626 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-cool-starter", - "version": "2.5.2", + "version": "2.5.3", "description": "A starter boilerplate for an universal web application with the best development experience and best practices.", "main": "index.js", "engines": { @@ -145,11 +145,13 @@ "eslintConfig": { "parser": "babel-eslint", "extends": [ + "plugin:lodash/recommended", "airbnb", "prettier", "prettier/react" ], "plugins": [ + "lodash", "react", "prettier" ], @@ -195,6 +197,8 @@ ] } ], + "lodash/import-scope": "off", + "lodash/prefer-noop": "off", "prettier/prettier": [ "error", { @@ -330,6 +334,7 @@ "eslint-loader": "^2.0.0", "eslint-plugin-import": "^2.12.0", "eslint-plugin-jsx-a11y": "^6.0.3", + "eslint-plugin-lodash": "^2.7.0", "eslint-plugin-prettier": "^2.6.2", "eslint-plugin-react": "^7.9.1", "file-loader": "^1.1.11", diff --git a/src/components/UserList/index.js b/src/components/UserList/index.js index cd5843c2..0ee275be 100755 --- a/src/components/UserList/index.js +++ b/src/components/UserList/index.js @@ -1,6 +1,7 @@ /* @flow */ import React from 'react'; +import _ from 'lodash'; import { Link } from 'react-router-dom'; @@ -12,7 +13,7 @@ export default ({ list }: Props) => (

User List