Chore: Fix `import/order`ing for image imports (#105055)

pull/105063/head
Tom Ratcliffe 2 months ago committed by GitHub
parent 125200c566
commit ec478138a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      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': [

Loading…
Cancel
Save