dprint / dprint-plugin-json

JSON code formatting plugin for dprint.
https://dprint.dev/plugins/json
MIT License
18 stars 5 forks source link

Allow disabling the new line requirement #22

Open cliedeman opened 1 year ago

cliedeman commented 1 year ago

Most packcage managers will remove the trailing new line when adding or removing packcages, but otherwise the file matches dprints format.

Allow ignore mising newlines at the end of the file

dsherret commented 1 year ago

Maybe:

"eofNewLine": "maintain" | "always" | "never"