Skip to content

Commit b5d6be3

Browse files
authored
Merge pull request #21 from jaebradley/greenkeeper/eslint-config-airbnb-17.0.0
Update eslint-config-airbnb to the latest version 🚀
2 parents 84a7f98 + 68d8cc6 commit b5d6be3

File tree

4 files changed

+50
-25
lines changed

4 files changed

+50
-25
lines changed

package-lock.json

Lines changed: 35 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@
7676
"css-loader": "^0.28.11",
7777
"enzyme": "^3.3.0",
7878
"eslint": "^4.19.1",
79-
"eslint-config-airbnb": "^16.1.0",
80-
"eslint-plugin-import": "^2.11.0",
79+
"eslint-config-airbnb": "^17.0.0",
80+
"eslint-plugin-import": "^2.12.0",
8181
"eslint-plugin-jsx-a11y": "^6.0.3",
82-
"eslint-plugin-react": "^7.7.0",
82+
"eslint-plugin-react": "^7.9.1",
8383
"husky": "^0.14.3",
8484
"jest": "^22.4.3",
8585
"node-sass": "^4.8.3",

src/AnExample/index.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ import PropTypes from 'prop-types';
33

44
import './AnExample.scss';
55

6-
const AnExample = ({ name }) => <div className="an-example">This is an example by { name }</div>;
6+
const AnExample = ({ name }) => (
7+
<div className="an-example">
8+
This is an example by
9+
{ name }
10+
</div>
11+
);
712

813
AnExample.propTypes = {
914
name: PropTypes.string,

src/AnotherExample/index.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ import PropTypes from 'prop-types';
33

44
import './AnotherExample.scss';
55

6-
const AnotherExample = ({ name }) => <div className="another-example">This is another example by { name }</div>;
6+
const AnotherExample = ({ name }) => (
7+
<div className="another-example">
8+
This is another example by
9+
{ name }
10+
</div>
11+
);
712

813
AnotherExample.propTypes = {
914
name: PropTypes.string,

0 commit comments

Comments
 (0)