File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/eslint-config-airbnb/rules Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -223,9 +223,9 @@ module.exports = {
223223 // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-target-blank.md
224224 'react/jsx-no-target-blank' : 2 ,
225225
226- // only .jsx files may have JSX
226+ // only .js files may have JSX
227227 // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-filename-extension.md
228- 'react/jsx-filename-extension' : [ 2 , { extensions : [ '.jsx ' ] } ] ,
228+ 'react/jsx-filename-extension' : [ 2 , { extensions : [ '.js ' ] } ] ,
229229
230230 // prevent accidental JS comments from being injected into JSX as text
231231 // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-comment-textnodes.md
You can’t perform that action at this time.
0 commit comments