mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-13 22:38:08 -05:00
Forbid .mjs extension from being specified
This commit is contained in:
committed by
Jordan Harband
parent
1d9d25d278
commit
eb50272401
@@ -134,6 +134,7 @@ module.exports = {
|
||||
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/extensions.md
|
||||
'import/extensions': ['error', 'always', {
|
||||
js: 'never',
|
||||
mjs: 'never',
|
||||
jsx: 'never',
|
||||
}],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user