Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
[Dev Deps] update babel-preset-airbnb, eslint-config-airbnb, `esl…
Browse files Browse the repository at this point in the history
…int-plugin-import`, `eslint-plugin-jsx-a11y`, `eslint-plugin-react`, `hypernova`, `prop-types`, `sinon`, `sinon-sandbox`
  • Loading branch information
ljharb committed Jul 16, 2018
1 parent b515ec9 commit 7486538
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,25 +52,25 @@
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-airbnb": "^2.4.0",
"babel-preset-airbnb": "^2.5.2",
"chai": "^4.1.2",
"enzyme": "^3.3.0",
"enzyme-adapter-react-helper": "^1.2.3",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"hypernova": "^2.2.5",
"eslint-config-airbnb": "^17.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.10.0",
"hypernova": "^2.2.6",
"istanbul": "^0.4.5",
"jsdom": "^9.12.0",
"mocha": "^4.1.0",
"prop-types": "^15.6.1",
"prop-types": "^15.6.2",
"react": "^0.14 || ^15 || ^16",
"react-dom": "^0.14 || ^15 || ^16",
"rimraf": "^2.6.2",
"sinon": "^5.0.1",
"sinon-sandbox": "^1.0.2"
"sinon": "^5.1.1",
"sinon-sandbox": "^2.0.0"
},
"engines": {
"node": ">= 4.0"
Expand Down
6 changes: 3 additions & 3 deletions test/components/ExampleReactComponent.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const React = require('react');
const PropTypes = require('prop-types');

function ExampleReactComponent(props) {
const name = ['Hello', props.name];
return React.createElement('div', { id: 'example' }, name.join(' '));
function ExampleReactComponent({ name }) {
const hi = ['Hello', name];
return React.createElement('div', { id: 'example' }, hi.join(' '));
}

ExampleReactComponent.propTypes = {
Expand Down

0 comments on commit 7486538

Please sign in to comment.