Skip to content

Add newline to the end of the translation files #224

@smnbbrv

Description

@smnbbrv

Hi @biesbjerg ,

I constantly hit a very simple-to-fix issue.

The .editorconfig forces IDE to add a new line in the end of the file, and the regenerate command removes this newline.

So, git thinks something is updated although nothing really is.

Could it be added by default / as a configuration parameter?

To be more precise. This is what is currently generated:

{
  "token": "value"
}

and this is desired output

{
  "token": "value"
}
<-- newline here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions