From b596f68abedd028b91becef27f2f1310ef29ed04 Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Sat, 1 Aug 2020 20:59:04 +0200 Subject: [PATCH] Remove annoying eslint warning This warning would have made me rename all my .js files to .jsx, which is pointless --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 8b35066..c36f040 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -13,6 +13,7 @@ module.exports = { jest: true, }, rules: { + 'react/jsx-filename-extension': [1, {extensions: ['.js', '.jsx']}], 'flowtype/define-flow-type': 1, 'flowtype/no-mixed': 2, 'flowtype/no-primitive-constructor-types': 2,