diff options
Diffstat (limited to 'webui/.eslintrc.js')
-rw-r--r-- | webui/.eslintrc.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/webui/.eslintrc.js b/webui/.eslintrc.js index 7adbb8d5..2dfa7543 100644 --- a/webui/.eslintrc.js +++ b/webui/.eslintrc.js @@ -29,9 +29,13 @@ module.exports = { position: 'after', }, ], - groups: [['builtin', 'external'], 'parent', ['sibling', 'index']], + pathGroupsExcludedImportTypes: ["builtin"], + groups: [['builtin', 'external'], ['internal', 'parent'], ['sibling', 'index']], 'newlines-between': 'always', }, ], }, + settings: { + 'import/internal-regex': '^src/', + }, }; |