Skip to content

Commit 96f2214

Browse files
committed
feat(config): update all config dependencies, with major updates
BREAKING CHANGE: this updates all configs/plugins this package is based on, as well as supporting ESLint 6. Please refer to the table below: | package | from | to | | ------------------------- | ------ | -------- | | eslint | ^5.6.0 | ^5.6.0 and ^6.0.0 | | eslint-config-airbnb | 17.1.0 | 18.0.1 | | eslint-config-prettier | 3.0.1 | 6.1.0 | | eslint-plugin-import | ^2.14.0 | ^2.18.2" | | eslint-plugin-jsx-a11y | ^6.1.1 | ^6.2.3" | | eslint-plugin-react | ^7.11.1 | ^7.14.3" | | eslint-plugin-react-hooks | N/A | ^1.7.0 | Additionally, eslint-plugin-react-hooks has been added to enforce the [rules of hooks](https://reactjs.org/docs/hooks-rules.html).
1 parent cf7b166 commit 96f2214

File tree

9 files changed

+1490
-1681
lines changed

9 files changed

+1490
-1681
lines changed

package-lock.json

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

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,22 @@
3131
"@semantic-release/exec": "3.3.6",
3232
"@semantic-release/git": "7.0.16",
3333
"danger": "9.1.8",
34-
"eslint": "5.6.0",
35-
"eslint-config-airbnb": "17.1.0",
36-
"eslint-config-prettier": "3.0.1",
34+
"eslint": "6.3.0",
35+
"eslint-config-airbnb": "18.0.1",
36+
"eslint-config-prettier": "6.1.0",
3737
"eslint-rule-documentation": "1.0.23",
3838
"jest": "24.9.0",
3939
"prettier": "1.18.2",
4040
"semantic-release": "15.13.24"
4141
},
4242
"dependencies": {
43-
"eslint-plugin-import": "^2.14.0",
44-
"eslint-plugin-jsx-a11y": "^6.1.1",
45-
"eslint-plugin-react": "^7.11.1"
43+
"eslint-plugin-import": "^2.18.2",
44+
"eslint-plugin-jsx-a11y": "^6.2.3",
45+
"eslint-plugin-react": "^7.14.3",
46+
"eslint-plugin-react-hooks": "^1.7.0"
4647
},
4748
"peerDependencies": {
48-
"eslint": "^5.6.0"
49+
"eslint": "^5.6.0 || ^6.0.0"
4950
},
5051
"scripts": {
5152
"lint": "eslint --report-unused-disable-directives . && prettier --check '**/?(.)*.{md,css,scss,js,json,yaml,yml,html}'",

src/__snapshots__/base.test.js.snap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,10 @@ Object {
8787
0,
8888
],
8989
},
90+
"settings": Object {
91+
"react": Object {
92+
"version": "latest",
93+
},
94+
},
9095
}
9196
`;

0 commit comments

Comments
 (0)