Skip to content

Commit

Permalink
Skip pretting tsconfig.json file.
Browse files Browse the repository at this point in the history
pre-commit.ci is pretting tsconfig.json file in a
different way than calling pre-commit with
prettier version 4.0.0-alpha-8 locally.
For this reason CI is failing.
Skip pretting this file, at least for the moment,
until pre-commit.ci as a service does not work
like pre-commit called locally.
  • Loading branch information
majamassarini committed Feb 13, 2024
1 parent 962ca42 commit e3f439e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ repos:
rev: v4.0.0-alpha.8
hooks:
- id: prettier
exclude: frontend/tsconfig.json
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
Expand Down
4 changes: 2 additions & 2 deletions frontend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve",
"jsx": "preserve"
},
"include": ["src"],
"exclude": ["node_modules"],
"exclude": ["node_modules"]
}

0 comments on commit e3f439e

Please sign in to comment.