eslint-plugin-sort-imports-es6-autofix icon indicating copy to clipboard operation
eslint-plugin-sort-imports-es6-autofix copied to clipboard

fix: add support for svelte file handling

Open craig-jennings opened this issue 1 year ago • 1 comments

This commit adds a simple check to see if the file being parsed is a Svelte file. If so, it assigns allDeclarations to the imports within the Svelte script tag so that they can be ordered correctly.

craig-jennings avatar Oct 03 '23 15:10 craig-jennings

Is this going to be merged soon? the plugin always crashes eslint when it tries to lint a svelte file. Edit: i tested it locally, and it worked!

JumpyLionnn avatar Dec 15 '23 10:12 JumpyLionnn