Skip to content
/ wagtail Public
forked from wagtail/wagtail

Commit

Permalink
Update linter versions in package.json, setup.py and pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
gasman committed Sep 21, 2023
1 parent 6eda5d5 commit 689c7dc
Show file tree
Hide file tree
Showing 5 changed files with 871 additions and 452 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ repos:
args: ['--target-version', 'py38']

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.0.272'
rev: 'v0.0.290'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.1
rev: v3.0.3
hooks:
- id: prettier
types_or: [css, scss, javascript, ts, tsx, json, yaml]
additional_dependencies:
# Keep in sync with package.json
- prettier@3.0.1
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.8.0
rev: v8.49.0
hooks:
- id: eslint
types: [file]
Expand All @@ -37,7 +37,7 @@ repos:
- '@typescript-eslint/parser@6.2.1'
- '@wagtail/eslint-config-wagtail@0.4.0'
- repo: https://github.com/thibaudcolas/pre-commit-stylelint
rev: v14.2.0
rev: v15.10.3
hooks:
- id: stylelint
files: \.scss$
Expand All @@ -51,11 +51,11 @@ repos:
- id: curlylint
args: ['--parse-only']
- repo: https://github.com/rtts/djhtml
rev: v1.5.2
rev: 3.0.6
hooks:
- id: djhtml
- repo: https://github.com/returntocorp/semgrep
rev: v1.3.0
rev: v1.40.0
hooks:
- id: semgrep
args: ['--config', '.semgrep.yml', '--error']
Loading

0 comments on commit 689c7dc

Please sign in to comment.