Skip to content

Commit 2c82ba4

Browse files
committed
Updates dev deps and prettier config.
1 parent 5c3fd7c commit 2c82ba4

File tree

3 files changed

+125
-136
lines changed

3 files changed

+125
-136
lines changed

package.json

+9-6
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,16 @@
5353
"enzyme": "^3.4.1",
5454
"enzyme-to-json": "^3.3.4",
5555
"eslint": "^4.19.1",
56-
"eslint-config-airbnb": "^16.0.0",
56+
"eslint-config-airbnb": "^17.0.0",
5757
"eslint-config-prettier": "^2.6.0",
58-
"eslint-plugin-import": "^2.13.0",
59-
"eslint-plugin-jsx-a11y": "^6.1.0",
58+
"eslint-plugin-import": "^2.14.0",
59+
"eslint-plugin-jsx-a11y": "^6.1.1",
6060
"eslint-plugin-react": "^7.10.0",
6161
"gzip-size": "^5.0.0",
6262
"husky": "^0.14.3",
6363
"in-publish": "2.0.0",
64-
"jest": "^23.4.2",
65-
"lint-staged": "^7.2.0",
64+
"jest": "^23.5.0",
65+
"lint-staged": "^7.2.2",
6666
"preact": "^8.3.0",
6767
"prettier": "^1.14.2",
6868
"pretty-bytes": "5.1.0",
@@ -99,14 +99,17 @@
9999
},
100100
"extends": [
101101
"airbnb",
102-
"prettier"
102+
"prettier",
103+
"prettier/react",
104+
"prettier/standard"
103105
],
104106
"rules": {
105107
"camelcase": 0,
106108
"import/prefer-default-export": 0,
107109
"import/no-extraneous-dependencies": 0,
108110
"no-nested-ternary": 0,
109111
"no-underscore-dangle": 0,
112+
"react/destructuring-assignment": 0,
110113
"react/no-array-index-key": 0,
111114
"react/react-in-jsx-scope": 0,
112115
"semi": [

src/__tests__/index.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ describe('reactTreeWalker', () => {
236236
getChildContext() {
237237
return { foo: 'val' }
238238
}
239+
239240
render() {
240241
return h('div', null, this.props.children)
241242
}

0 commit comments

Comments
 (0)