Browse Source

Remove annoying eslint warning

This warning would have made me rename all my .js files to .jsx, which is pointless
Arnaud Vergnet 1 year ago
parent
commit
b596f68abe
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      .eslintrc.js

+ 1
- 0
.eslintrc.js View File

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

Loading…
Cancel
Save