Skip to content

Ignoring trailing newlines at the end of snapshot files #62

@drjasonharrison

Description

@drjasonharrison

I saw this issue, #61 where a linting rule was adding a newline at the end of a file.

I have a similar problem where my editor is configured to make sure that all text files have an ending newline. I also have a pre-commit hook (end-of-file-fixer) which does the same thing, but it is easier to define an exception for that.

Is there a way to override, configure, or redefine the snapshot file loader to strip whitespace at the end of the file?

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