Remove annoying eslint warning

This warning would have made me rename all my .js files to .jsx, which is pointless
This commit is contained in:
Arnaud Vergnet 2020-08-01 20:59:04 +02:00
parent 05ef28f3b5
commit b596f68abe

View file

@ -13,6 +13,7 @@ module.exports = {
jest: true, jest: true,
}, },
rules: { rules: {
'react/jsx-filename-extension': [1, {extensions: ['.js', '.jsx']}],
'flowtype/define-flow-type': 1, 'flowtype/define-flow-type': 1,
'flowtype/no-mixed': 2, 'flowtype/no-mixed': 2,
'flowtype/no-primitive-constructor-types': 2, 'flowtype/no-primitive-constructor-types': 2,