Skip to content

Commit a90ef5e

Browse files
committed
Lint: Remove requirement for .jsx files
Heavily debated here: airbnb/javascript#985
1 parent 8bc2d27 commit a90ef5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,8 @@
1111
},
1212
"globals": {
1313
"fetch": false
14+
},
15+
"rules": {
16+
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }]
1417
}
1518
}

0 commit comments

Comments
 (0)