Skip to content

Commit

Permalink
feat: use serial mode to reduce execution time (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz authored Dec 6, 2024
1 parent 55e628c commit f71ccf5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,28 @@
language_version: lts
types: [text]
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css|svelte|vue|astro|graphql|gql)$"
require_serial: true
- id: biome-check
name: biome check
entry: biome check --write --files-ignore-unknown=true --no-errors-on-unmatched
language: node
language_version: lts
types: [text]
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css|svelte|vue|astro|graphql|gql)$"
require_serial: true
- id: biome-format
name: biome format
entry: biome format --write --files-ignore-unknown=true --no-errors-on-unmatched
language: node
language_version: lts
types: [text]
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css|svelte|vue|astro|graphql|gql)$"
require_serial: true
- id: biome-lint
name: biome lint
entry: biome lint --write --files-ignore-unknown=true --no-errors-on-unmatched
language: node
language_version: lts
types: [text]
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css|svelte|vue|astro|graphql|gql)$"
require_serial: true

0 comments on commit f71ccf5

Please sign in to comment.