From 64388557d0e39edf7b4a03fb4f4fd88a3cb75600 Mon Sep 17 00:00:00 2001 From: Thomas Tracy Date: Tue, 18 Oct 2022 11:52:30 -0400 Subject: [PATCH] feat: add new accepted linting rules for functional components and module imports --- .eslintrc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 5448d8d82..692593d26 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -6,5 +6,7 @@ module.exports = createConfig('eslint', { 'import/no-dynamic-require': 'off', 'global-require': 'off', 'no-template-curly-in-string': 'off', + 'import/no-import-module-export': 'off', + 'react/function-component-definition': [2, { namedComponents: 'arrow-function' }], }, });