Created
March 18, 2024 10:12
-
-
Save jonathanconway/cec76da5fe85f4e94328d7c322aa5070 to your computer and use it in GitHub Desktop.
Handy sensible defaults for prettier including import ordering and grouping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tabWidth": 2, | |
"useTabs": false, | |
"singleQuote": false, | |
"importOrder": ["^[@]?[a-zA-Z]", "^[@/a-zA-Z]", "^../", "^./"], | |
"importOrderSeparation": true, | |
"importOrderSortSpecifiers": true, | |
"plugins": ["@trivago/prettier-plugin-sort-imports"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment