浏览代码

pre-commit: add mixed-line-ending hook [skip ci]

Victor Seva 2 年之前
父节点
当前提交
339891e7da
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .pre-commit-config.yaml

+ 1 - 0
.pre-commit-config.yaml

@@ -7,6 +7,7 @@ repos:
       - id: end-of-file-fixer
       - id: trailing-whitespace
       - id: check-merge-conflict
+      - id: mixed-line-ending
   - repo: https://github.com/pre-commit/mirrors-clang-format
     rev: v15.0.7
     hooks: