add pre-commit hook for checking for talkative/verbose cURL commands in any file type

This commit is contained in:
Brian de Buiteach 2020-06-01 14:11:55 +01:00
parent f0bf512dbb
commit ce1c73b3a6
5 changed files with 140 additions and 0 deletions

View file

@ -112,6 +112,12 @@
entry: detect-private-key
language: python
types: [text]
- id: detect-verbose-curl
name: Detect Verbose CURL
description: Detects the presence of verbose options in cURL commands.
entry: detect-verbose-curl
language: python
types: [text]
- id: double-quote-string-fixer
name: Fix double quoted strings
description: This hook replaces double quoted strings with single quoted strings