Skip to content

katrielalex/biber-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

biber-formatter

pre-commit hook to check or autoformat your biber files for you.

Installing

Add

-   repo: git://github.com/katrielalex/biber-formatter
    sha: v1
    hooks:
    -   id: biber-autoformat

to your .pre-commit-config.yaml. You can use biber-check-format if you don't want to modify files and just want to get a warning about them.

Beware: biber doesn't like newlines at the end of files, so if you have the end-of-file-fixer hook enabled you should make sure to have it skip your .bib files, like this:

    -   id: end-of-file-fixer
        exclude: '\.bib$'

About

pre-commit hook to check or autoformat .bib files

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages