Skip to content

Commit

Permalink
Use a supported plugin that's compatible with import assertions
Browse files Browse the repository at this point in the history
After a few tests, it seems that the plugin has the same behaviour, with the bonus of ordering 'export' declarations.

Refs #1750, trivago/prettier-plugin-sort-imports#270
  • Loading branch information
thewilkybarkid committed Aug 27, 2024
1 parent 7b1d416 commit efef8d2
Show file tree
Hide file tree
Showing 3 changed files with 356 additions and 2,693 deletions.
9 changes: 1 addition & 8 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
{
"arrowParens": "avoid",
"importOrder": ["^[./]"],
"importOrderSortSpecifiers": true,
"printWidth": 120,
"semi": false,
"singleQuote": true,
"plugins": [
"@prettier/plugin-xml",
"@trivago/prettier-plugin-sort-imports",
"prettier-plugin-sh",
"prettier-plugin-toml"
]
"plugins": ["@prettier/plugin-xml", "prettier-plugin-organize-imports", "prettier-plugin-sh", "prettier-plugin-toml"]
}
Loading

0 comments on commit efef8d2

Please sign in to comment.