Skip to content

Commit 6eb3066

Browse files
committed
add react/jsx-filename-extension rule
1 parent 85404a0 commit 6eb3066

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/react-scripts/config/webpack.config.dev.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ module.exports = {
167167
'import/extensions': 0,
168168
'no-prototype-builtins': 0,
169169
'react/forbid-prop-types': 0,
170+
'react/jsx-filename-extension': 0,
170171
},
171172
},
172173
ignore: false,

packages/react-scripts/config/webpack.config.prod.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ module.exports = {
164164
'import/extensions': 0,
165165
'no-prototype-builtins': 0,
166166
'react/forbid-prop-types': 0,
167+
'react/jsx-filename-extension': 0,
167168
},
168169
},
169170
ignore: false,

0 commit comments

Comments
 (0)