also group $ or @ imports

This commit is contained in:
Niccolo Borgioli 2023-10-31 21:23:20 +01:00
parent 56ccc6d98f
commit 3ee8bd1989
No known key found for this signature in database
GPG Key ID: D93C615F75EE4F0B
2 changed files with 2 additions and 2 deletions

View File

@ -6,5 +6,5 @@ export default {
trailingComma: 'all',
plugins: ['@ianvs/prettier-plugin-sort-imports', 'prettier-plugin-packagejson'],
importOrder: ['<BUILT_IN_MODULES>', '', '<THIRD_PARTY_MODULES>', '', '^[.]'],
importOrder: ['<BUILT_IN_MODULES>', '', '<THIRD_PARTY_MODULES>', '', '^[@$]', '', '^[.]'],
}

View File

@ -1,6 +1,6 @@
{
"name": "@nicco.io/prettier",
"version": "1.0.0",
"version": "1.0.1",
"description": "Personal Prettier config",
"keywords": [
"prettier",