Skip to content

Commit

Permalink
update pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Nov 13, 2023
1 parent c6c62a0 commit cf671c4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
15 changes: 8 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ default_install_hook_types: [pre-commit, commit-msg]

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-case-conflict
- id: check-symlinks
Expand All @@ -20,7 +20,7 @@ repos:
files: ^tools\.yml$

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0
rev: v3.0.3
hooks:
- id: prettier
args: [--config, site/.prettierrc.yml, --write] # edit files in-place
Expand All @@ -30,13 +30,13 @@ repos:
- svelte

- repo: https://github.com/adrienverge/yamllint
rev: v1.32.0
rev: v1.33.0
hooks:
- id: yamllint
args: [--config-file, .github/yamllint.yml]

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.35.0
rev: v0.37.0
hooks:
- id: markdownlint
# MD013: line too long
Expand All @@ -45,14 +45,15 @@ repos:
args: [--disable, MD013, MD033, MD041, '--']

- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
rev: v2.2.6
hooks:
- id: codespell
args: [--ignore-words-list, 'ons,linz']
exclude: ^site/src/sites.yml$
args: [--ignore-words-list, 'ons,linz', --check-filenames]
stages: [commit, commit-msg]

- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.44.0
rev: v8.53.0
hooks:
- id: eslint
types: [file]
Expand Down
3 changes: 1 addition & 2 deletions site/src/sites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1020,8 +1020,7 @@
company: null
- title: inlang
url: https://inlang.com
repo: https://github.com/inlang/inlang
site_src: https://github.com/inlang/inlang/blob/-/source-code/website
repo: https://github.com/inlang/monorepo
description: Translate software products 2x faster.
uses:
- TypeScript
Expand Down
3 changes: 1 addition & 2 deletions sites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,7 @@

- title: inlang
url: https://inlang.com
repo: https://github.com/inlang/inlang
site_src: https://github.com/inlang/inlang/blob/-/source-code/website
repo: https://github.com/inlang/monorepo
description: Translate software products 2x faster.
uses: [TypeScript, Vercel, IBM Carbon, Tailwind, Supabase]
tags: [front-end, developer tool, localization, i18n]
Expand Down

0 comments on commit cf671c4

Please sign in to comment.