Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#2140)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.1 → v0.5.4](astral-sh/ruff-pre-commit@v0.5.1...v0.5.4)
- [github.com/pre-commit/mirrors-eslint: v9.6.0 → v9.7.0](pre-commit/mirrors-eslint@v9.6.0...v9.7.0)
- [github.com/pre-commit/mirrors-eslint: v9.6.0 → v9.7.0](pre-commit/mirrors-eslint@v9.6.0...v9.7.0)

* Remove duplicated lines in pre-commit config

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Josh Nygaard <[email protected]>
Co-authored-by: Gordon Farrell <[email protected]>
  • Loading branch information
3 people authored Jul 26, 2024
1 parent b7417f6 commit 79380d0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.1
rev: v0.5.4
hooks:
# Run the linter.
- id: ruff
Expand All @@ -13,9 +13,10 @@ repos:
- id: pretty-format-json
args: [--autofix, --no-sort-keys]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: "v9.6.0"
rev: "v9.7.0"
hooks:
- id: eslint
name: ESLint for ECR Viewer
files: ^containers/ecr-viewer/.*\.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx in containers/ecr-viewer
types: [file]
additional_dependencies:
Expand All @@ -29,10 +30,8 @@ repos:
- eslint-plugin-unused-imports
- eslint-plugin-jsdoc
args: ["--config=./containers/ecr-viewer/.eslintrc.json", "--fix"]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: "v9.6.0"
hooks:
- id: eslint
name: ESLint for TEFCA Viewer
files: ^containers/tefca-viewer/.*\.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx
types: [file]
additional_dependencies:
Expand Down

0 comments on commit 79380d0

Please sign in to comment.