andreasscherbaum / check-markdown-files

Run a pre-flight check on Markdown files before committing blog postings
Apache License 2.0
1 stars 1 forks source link

Do not check size for image files which are ignored in git #6

Closed andreasscherbaum closed 3 months ago

andreasscherbaum commented 3 months ago

I often keep the source images (sometimes rather large) in the same posting directory, but add the files to .gitignore. This way the files are not checked in into the repository, and not deployed to the website.

However the size check for files still finds these files, and claims that large files are found.

Ignore all files which are ignored in git as well.