diff --git a/eslint.config.js b/eslint.config.js index 9a112633e0c..d33fae54961 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -101,9 +101,16 @@ module.exports = [ 'import/order': [ 'error', { + pathGroups: [ + { + pattern: 'img/**', + group: 'internal', + }, + ], groups: [['builtin', 'external'], 'internal', 'parent', 'sibling', 'index'], 'newlines-between': 'always', alphabetize: { order: 'asc' }, + pathGroupsExcludedImportTypes: ['builtin'], }, ], 'no-restricted-imports': [