From d91b21d6a4dcaaac63cabc00ea24c762cdceea73 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Thu, 9 Apr 2020 09:04:51 +0200 Subject: [PATCH] extensions for import --- index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.js b/index.js index 9e46541..f98dbc6 100644 --- a/index.js +++ b/index.js @@ -23,6 +23,10 @@ module.exports = { sourceType: 'module' }, + settings: { + 'import/extensions': ['.js', '.jsx', '.ts', '.tsx', '.mjs'] + }, + rules: { // deactivate commonjs rules 'node/no-unsupported-features/es-syntax': 'off',