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

Commit 32d2cd2

Browse files
author
Arnošt Pleskot
committed
.js file extension for files with jsx
1 parent 88d37ac commit 32d2cd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

environments/react/recommended.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424

2525
// Restrict file extensions that may contain JSX
2626
'react/jsx-filename-extension': [1, {
27-
extensions: ['.jsx'],
27+
extensions: ['.js', '.jsx'],
2828
}],
2929

3030
// Detect missing key prop

0 commit comments

Comments
 (0)