This package takes care of trailing commas when moving lines in json with 'editor:move-line-up' and 'editor:move-line-down'. It also removes any trailing spaces from the moved lines.
The base of this functionality is inspired by JetBrains products.
Please, report any bug You find.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.