Skip to content

Commit 2d028d8

Browse files
authored
Merge pull request #65 from humanmade/update-peer-dependencies
Update ESLint config peer dependencies
2 parents 6a0d083 + 5eef3a1 commit 2d028d8

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

packages/eslint-config-humanmade/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,10 @@ module.exports = {
9696
'yoda': [ 'error', 'never' ],
9797
'react/jsx-curly-spacing': [ 'error', 'always' ],
9898
'react/jsx-wrap-multilines': [ 'error' ],
99+
'jsx-a11y/anchor-is-valid': [ 'error' ],
100+
// href-no-hash has been removed from jsx-a11y: this line silences an error
101+
// caused by eslint-config-react-app still using the deprecated rule, and
102+
// can be removed once the react-app config is updated to a recent jsx-a11y.
103+
'jsx-a11y/href-no-hash': [ 'off' ],
99104
},
100105
};

packages/eslint-config-humanmade/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@
1111
"devDependencies": {
1212
"babel-eslint": "^7.2.3",
1313
"chalk": "^2.3.2",
14-
"eslint": "^4.19.0",
15-
"eslint-config-react-app": "^0.5.0",
16-
"eslint-plugin-flowtype": "^2.21.0",
17-
"eslint-plugin-import": "^2.0.1",
18-
"eslint-plugin-jsx-a11y": "^2.2.3",
19-
"eslint-plugin-react": "^6.4.1"
14+
"eslint": "^4.19.1",
15+
"eslint-config-react-app": "^2.1.0",
16+
"eslint-plugin-flowtype": "^2.46.3",
17+
"eslint-plugin-import": "^2.11.0",
18+
"eslint-plugin-jsx-a11y": "^6.0.3",
19+
"eslint-plugin-react": "^7.7.0"
2020
},
2121
"peerDependencies": {
22-
"babel-eslint": "^7.0.0",
23-
"eslint": "^4.19.0",
24-
"eslint-config-react-app": "^0.5.0",
25-
"eslint-plugin-flowtype": "^2.21.0",
26-
"eslint-plugin-import": "^2.0.1",
27-
"eslint-plugin-jsx-a11y": "^2.2.3",
28-
"eslint-plugin-react": "^6.4.1"
22+
"babel-eslint": "^7.2.3",
23+
"eslint": "^4.19.1",
24+
"eslint-config-react-app": "^2.1.0",
25+
"eslint-plugin-flowtype": "^2.46.3",
26+
"eslint-plugin-import": "^2.11.0",
27+
"eslint-plugin-jsx-a11y": "^6.0.3",
28+
"eslint-plugin-react": "^7.7.0"
2929
},
3030
"files": [
3131
".eslintrc",

0 commit comments

Comments
 (0)