trivago/prettier-plugin-sort-imports
A prettier plugin to sort imports in typescript and javascript files by the provided RegEx order.
TypeScriptApache-2.0
Issues
- 9
- 2
The end of line ($) in a regex, is replaced by <script setup> in a Vue 3
#306 opened by NNikulenkovSmapo - 3
Plugin crashes reading file: Cannot read properties of undefined (reading 'buildError')
#287 opened by jspradlin1-chwy - 2
Not working with prettier-ignore
#297 opened by justingolden21 - 12
Package breaks when using import assertions
#270 opened by Csszabi98 - 3
Cannot sort `<script setup>` if multiple `<script>` are provided in vue sfc
#218 opened by Tanimodori - 0
Parsing .json files and failing.
#309 opened by 91ranjan - 3
Prettier v3 throws warning "Ignored unknown option" for `importOrder` / `importOrderSeparation`
#244 opened by escapedcat - 0
https://github.com/trivago/prettier-plugin-sort-imports/issues/300#issue-2382251412
#304 opened by Playgirlkaybraz11 - 2
Ui
#300 opened by Playgirlkaybraz11 - 0
Prettier-plugin-sort-imports conflicts with Prettier's automatic saving of formatting
#303 opened by cMing1997 - 3
I'm getting the `SyntaxError: Unexpected token, expected "}" (73:6)` error when formatting a `*.spec.ts` file
#280 opened by wujekbogdan - 4
Replace importOrderSeparation with <SEPARATOR>
#268 opened by joutvhu - 1
Combine imports for the same dependency
#298 opened by quantizor - 1
Unexpected token for import attribute "with"
#294 opened by jase88 - 12
Prettier > 3 doesn't work
#245 opened by mike667 - 4
- 0
Vue SFC script block not using overrided parser
#290 opened by neko-para - 10
Support // sort-imports-ignore
#230 opened by shalev-kaveh - 0
- 1
Can't format typescript types file
#286 opened by cnhongwei - 1
import order Not Working
#288 opened by VictoryJu - 1
Plugin does not support TypeScript `using` keyword
#285 opened by valtyr - 1
- 4
- 1
- 1
Add option to disable import sorting (for monorepo)
#259 opened by foges - 4
`TypeError` within `checkBlockScopedCollisions`: `this.hub` is undefined
#228 opened by willsawyerrrr - 0
Introduce a `<SIDE_EFFECT_IMPORTS>` tag
#274 opened by oumar-fall - 0
Format Selection can throw syntax errors
#272 opened by dallonf - 4
Comments above directives get duplicated
#229 opened by jdeal - 1
Package is "broken" on `npm`
#269 opened by dhermes - 0
- 2
CVE-2023-45133
#262 opened by david2tm - 0
Inaccurate regex patterns in documentation
#216 opened by DanielRuf - 0
Merge same-origin imports
#261 opened by dyon21 - 0
Don’t multi-line imports
#260 opened by TheKenkei - 2
The plugins doesn't work for vue files for me.
#255 opened by adampolyanskiy - 1
Error formatting using VSCode when using vue-property-decorator in Vue file.
#252 opened by richex-cn - 0
Add new line between each import
#250 opened by alamenai - 3
Two lines after last import
#241 opened by clintonb - 5
Support for prettier 3
#240 opened by Ericlm - 1
- 2
- 1
- 0
multiple imports on the same line causes one of the imports to be duplicated
#222 opened by DetachHead - 5
- 0
`SyntaxError` Export is not defined when exporting variable inside a module declaration
#213 opened by DetachHead - 3
'worklet' designation incorrectly formatted
#209 opened by ljukas - 4
Typescript `import type` statements are not sorted the same way in v4.0.0 and v4.1.0
#211 opened by acelaya