Skip to content

Commit

Permalink
Add configuration for sort imports plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelts3 authored and nerdyman committed Oct 5, 2022
1 parent 57ed18e commit 3bf385f
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,22 @@
"printWidth": 90,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
"trailingComma": "es5",
"importOrder": [
"^@core/(.*)$",
"^@server/(.*)$",
"^@ui/(.*)$",
"^[./]"
],
"importOrderBuiltinModulesToTop": true,
"importOrderCaseInsensitive": true,
"importOrderParserPlugins": [
"typescript",
"jsx",
"decorators-legacy"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
},
"peerDependencies": {
"react": ">=16.8",
Expand Down

0 comments on commit 3bf385f

Please sign in to comment.