diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ec2a308cfe..f5ee97bf96 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -46,12 +46,17 @@ repos: additional_dependencies: - stylelint@14.2.0 - '@wagtail/stylelint-config-wagtail@0.3.2' + - repo: https://github.com/thibaudcolas/curlylint + rev: v0.13.1 + hooks: + - id: curlylint + args: ['--parse-only'] - repo: https://github.com/rtts/djhtml - rev: v1.4.13 + rev: v1.5.2 hooks: - id: djhtml - repo: https://github.com/returntocorp/semgrep - rev: v0.117.0 + rev: v1.3.0 hooks: - id: semgrep args: ['--config', '.semgrep.yml', '--error'] diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 4efa0c79a1..f5b53affd3 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -44,6 +44,7 @@ Changelog * Maintenance: Convert userbar implementation to TypeScript (Albina Starykova) * Maintenance: Migrate slug field behaviour to a Stimulus controller and create new `SlugInput` widget (Loveth Omokaro) * Maintenance: Refactor `status` HTML usage to shared template tag (Aman Pandey, LB (Ben) Johnston) + * Maintenance: Add curlylint and update djhtml, semgrep versions in pre-commit config (Himanshu Garg) 4.2.1 (xx.xx.xxxx) - IN DEVELOPMENT diff --git a/docs/releases/5.0.md b/docs/releases/5.0.md index b6d630cd05..920f6a9caf 100644 --- a/docs/releases/5.0.md +++ b/docs/releases/5.0.md @@ -64,6 +64,7 @@ depth: 1 * Convert userbar implementation to TypeScript (Albina Starykova) * Migrate slug field behaviour to a Stimulus controller and create new `SlugInput` widget (Loveth Omokaro) * Refactor `status` HTML usage to shared template tag (Aman Pandey, LB (Ben) Johnston) + * Add curlylint and update djhtml, semgrep versions in pre-commit config (Himanshu Garg) ## Upgrade considerations