Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 0 additions & 44 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
# https://pre-commit.com/#installation
default_stages: [commit, push]
default_language_version:
# force all unspecified Python hooks to run python3
python: python3
minimum_pre_commit_version: '2.18.1'
repos:
- repo: meta
hooks:
Expand All @@ -13,47 +10,6 @@ repos:
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: insert-license
name: add license for all JavaScript files
files: \.js$
args:
- --comment-style
- '/*!| *| */'
- --license-filepath
- license-templates/LICENSE.txt
- --fuzzy-match-generates-todo
- --remove-header
- id: insert-license
name: add license for all Markdown files
files: \.(md|mdown|markdown)$
types: [markdown]
args:
- --comment-style
- '<!--|| -->'
- --license-filepath
- license-templates/LICENSE.txt
- --fuzzy-match-generates-todo
- --remove-header
- id: insert-license
name: add license for all Shell files
files: \.bash$|\.sh$
args:
- --comment-style
- '|#|'
- --license-filepath
- license-templates/LICENSE.txt
- --fuzzy-match-generates-todo
- --remove-header
- id: insert-license
name: add license for all YAML files
files: \.(yml|yaml)$
args:
- --comment-style
- '|#|'
- --license-filepath
- license-templates/LICENSE.txt
- --fuzzy-match-generates-todo
- --remove-header
- id: forbid-tabs
exclude: \.c$|\.h$|\.one$|Makefile$|^src/ast/ast-structure\.txt$
- id: remove-tabs
Expand Down
Loading