Skip to content
This repository was archived by the owner on Apr 11, 2019. It is now read-only.

Commit 957a7b1

Browse files
authored
Feat: update eslint config to allow arrow functions
Arrow functions were disabled in props. This allows them globally now.
1 parent 248ef62 commit 957a7b1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.eslintrc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88
},
99
"rules": {
1010
"func-names": 0,
11-
"eol-last": 0
11+
"eol-last": 0,
12+
"react/jsx-no-bind": [ 2, {
13+
"ignoreRefs": false,
14+
"allowArrowFunctions": true,
15+
"allowBind": true
16+
}]
1217
},
1318
"plugins": [
1419
"react",

0 commit comments

Comments
 (0)