0.12.0
Rules Added
- MD047 - File should end with a blank line
Added
- New 'docs' method on rules to provide a URL and longer description
docker_image-based pre-commit
Changed
- Changed the default for MD007 to 3 spaces to match minimum spaces for ordered lists
- Added option
:ignore_code_blocksto rule MD010. If set to true, hard tabs in code blocks will be ignored. - Added option
:ignore_code_blocksto rule MD013. If set to true, hard tabs in code blocks will be ignored. The option:code_blockshas been marked as deprecated in the documentation. If:code_blocksis set to false in the configuration, a deprecation warning is printed. - Improved documentation on custom rules and rulesets
- Handle non-printable characters gracefully
- Support configurable sublist styles for MD004
Fixed
- Fixed directory argument with
--git-recurse - Preserve empty lines at the end of a file