File tree Expand file tree Collapse file tree 1 file changed +15
-26
lines changed Expand file tree Collapse file tree 1 file changed +15
-26
lines changed Original file line number Diff line number Diff line change @@ -21,29 +21,18 @@ repos:
2121 exclude : " pnpm-lock.yaml"
2222 files : \.(astro|mdx|md|yml|yaml|ts|tsx|js|mjs)$
2323
24- # - repo: local
25- # hooks:
26- # - id: local_prettier
27- # name: local prettier
28- # entry: prettier --write
29- # args: ["--tab-width", "2", "--trailing-comma", "es5"]
30- # language: node
31- # exclude_types: ["svg", "editorconfig", "gitignore"]
32- # additional_dependencies: ["astro", "prettier", "prettier-plugin-astro"]
33- # files: \.(astro|mdx|md|yml|yaml|ts|tsx|js|mjs)$
34- #
35- # - id: astro-check
36- # name: astro check
37- # entry: astro check
38- # language: node
39- # files: "^(?:public|src)/.+|astro\\.config\\.mjs|tsconfig\\.json"
40- # pass_filenames: false
41- # additional_dependencies: ["astro"]
42- #
43- # - id: astro-build
44- # name: astro build
45- # entry: astro build
46- # language: node
47- # files: "^(?:public|src)/.+|astro\\.config\\.mjs|tsconfig\\.json"
48- # pass_filenames: false
49- # additional_dependencies: ["astro"]
24+ - repo : local
25+ hooks :
26+ - id : astro-check
27+ name : astro check
28+ entry : pnpm run astro check
29+ language : system
30+ files : " ^(?:public|src)/.+|astro\\ .config\\ .mjs|tsconfig\\ .json"
31+ pass_filenames : false
32+
33+ - id : astro-build
34+ name : pnpm run astro build
35+ entry : astro build
36+ language : system
37+ files : " ^(?:public|src)/.+|astro\\ .config\\ .mjs|tsconfig\\ .json"
38+ pass_filenames : false
You can’t perform that action at this time.
0 commit comments