diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e0ec95a..71c788e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,10 +3,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - - id: end-of-file-fixer - exclude: (.txt$|.ipynb$|README.md$|readme.mde$) - - id: trailing-whitespace - exclude: (.txt$|README.md$) - id: check-yaml - id: check-json - id: check-toml @@ -22,7 +18,6 @@ repos: args: [--autofix, --no-sort-keys, --no-ensure-ascii] - id: check-merge-conflict - id: no-commit-to-branch - args: [--branch, main] - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks rev: v2.15.0 @@ -46,3 +41,13 @@ repos: - id: check-renovate - id: check-github-actions - id: check-github-workflows + +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v6.0.0 + hooks: + - id: end-of-file-fixer + exclude: (.txt$|.ipynb$|README.md$|readme.mde$) + - id: trailing-whitespace + exclude: (.txt$|README.md$) + - id: mixed-line-ending + args: [--fix=lf]