elm-analyse icon indicating copy to clipboard operation
elm-analyse copied to clipboard

Add more auto-fixes

Open stil4m opened this issue 7 years ago • 5 comments

This is an overarching ticket for auto fixes that can be implemented:

  • [ ] UseConsOverConcat
  • [ ] DropConcatOfLists
  • [ ] DropConsOfItemAndList
  • [x] DuplicateImports
  • [ ] NoDebugStatements
  • [ ] NoUnurriedPrefix
  • [x] UnusedImports (#23)
  • [x] UnusedTypeAlias (#31)
  • [x] MultiLineRecordFormatting (#91)

stil4m avatar Feb 18 '17 11:02 stil4m

What about MultiLineRecordFormatting? ;)

andys8 avatar Jun 28 '17 22:06 andys8

@andys8. Good point. I'll add a ticket for it.

stil4m avatar Jun 29 '17 08:06 stil4m

Great. I started to use elm-analyse since yesterday and I'm very happy and even surprised of the great feature set. Awesome work!

andys8 avatar Jun 29 '17 09:06 andys8

DuplicateImpots are fixed in elm-format (0.7.0). Please use that instead of elm-analyse to fix duplicate imports.

stil4m avatar Dec 23 '17 10:12 stil4m

Not sure if it's possible, but an auto fix for ImportAll would be really helpful sometimes.

bbugh avatar Jul 31 '19 14:07 bbugh