From 4d07101a5663a9fa02e057687b91134ff682291a Mon Sep 17 00:00:00 2001 From: AlexAlexandre Date: Tue, 20 Jul 2021 17:31:08 -0300 Subject: [PATCH] [IMPROVE] disable the "missing file extension" rule at eslintrc --- .eslintrc.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index ceb371ef3..81232dfbd 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -33,6 +33,16 @@ module.exports = { "mocha": true }, "rules": { + "import/extensions": [ + "error", + "ignorePackages", + { + "js": "warning", + "jsx": "warning", + "ts": "warning", + "tsx": "warning" + } + ], "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],