You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Editing a data file via frontMatter.data.files and Dashboard > Data results in the saved/changed file being saved without "newline at the end of the file". My linting rules expect a newline, so my linting always results in an extra step to add a new line.
Would it be possible to somehow check the file before changing it and using the existing characters after the json is closed (] or }) somehow? Or maybe add a config variable that enables newline/no-newline for edited files?
The text was updated successfully, but these errors were encountered:
Editing a data file via
frontMatter.data.files
and Dashboard > Data results in the saved/changed file being saved without "newline at the end of the file". My linting rules expect a newline, so my linting always results in an extra step to add a new line.Would it be possible to somehow check the file before changing it and using the existing characters after the json is closed (] or }) somehow? Or maybe add a config variable that enables newline/no-newline for edited files?
The text was updated successfully, but these errors were encountered: