mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
Add .mjs to the list of supported extensions
This commit is contained in:
committed by
Jordan Harband
parent
cb9482c04e
commit
1d9d25d278
@@ -13,11 +13,12 @@ module.exports = {
|
||||
settings: {
|
||||
'import/resolver': {
|
||||
node: {
|
||||
extensions: ['.js', '.json']
|
||||
extensions: ['.mjs', '.js', '.json']
|
||||
}
|
||||
},
|
||||
'import/extensions': [
|
||||
'.js',
|
||||
'.mjs',
|
||||
'.jsx',
|
||||
],
|
||||
'import/core-modules': [
|
||||
|
||||
Reference in New Issue
Block a user