extensions for import

This commit is contained in:
Timo Hocker 2020-04-09 09:04:51 +02:00
parent d6d80221ca
commit d91b21d6a4

View File

@ -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',