Skip to content

Commit c54c047

Browse files
author
Jonathon Kelly
committed
disable require render return
1 parent 5a6472c commit c54c047

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.eslintrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"rules": {
55
"indent": [2, 4, {"SwitchCase": 1}],
66
"max-len": [2, 140, 2],
7-
"react/jsx-indent-props": [2, 4]
7+
"react/jsx-indent-props": [2, 4],
8+
9+
// eslint fails on this (although it shouldn't)
10+
"react/require-render-return": [0]
811
}
912
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"css-loader": "^0.23.1",
4848
"eslint": "^2.8.0",
4949
"eslint-config-airbnb": "^7.0.0",
50+
"eslint-plugin-jsx-a11y": "^0.6.2",
5051
"eslint-plugin-react": "^5.0.0",
5152
"extract-text-webpack-plugin": "^1.0.1",
5253
"gh-pages": "^0.11.0",

0 commit comments

Comments
 (0)