mirror of
https://github.com/cupcakearmy/prettier.git
synced 2024-12-21 23:56:31 +00:00
also group $ or @ imports
This commit is contained in:
parent
56ccc6d98f
commit
3ee8bd1989
2
index.js
2
index.js
@ -6,5 +6,5 @@ export default {
|
|||||||
trailingComma: 'all',
|
trailingComma: 'all',
|
||||||
|
|
||||||
plugins: ['@ianvs/prettier-plugin-sort-imports', 'prettier-plugin-packagejson'],
|
plugins: ['@ianvs/prettier-plugin-sort-imports', 'prettier-plugin-packagejson'],
|
||||||
importOrder: ['<BUILT_IN_MODULES>', '', '<THIRD_PARTY_MODULES>', '', '^[.]'],
|
importOrder: ['<BUILT_IN_MODULES>', '', '<THIRD_PARTY_MODULES>', '', '^[@$]', '', '^[.]'],
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nicco.io/prettier",
|
"name": "@nicco.io/prettier",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "Personal Prettier config",
|
"description": "Personal Prettier config",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"prettier",
|
"prettier",
|
||||||
|
Loading…
Reference in New Issue
Block a user