1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-26 09:04:18 +03:00

Update pre-commit to check JSON formatting (#2400)

This commit is contained in:
Jonathan Cubides 2023-09-28 14:55:35 +02:00 committed by GitHub
parent 2b566e0870
commit f9e27b52f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
56 changed files with 164 additions and 164 deletions

View File

@ -7,9 +7,7 @@
"VARIANT": "ubuntu-22.04"
}
},
"runArgs": [
"--privileged"
],
"runArgs": ["--privileged"],
"hostRequirements": {
"cpus": 4,
"memory": "8gb",
@ -61,11 +59,7 @@
"internalBuildDir": "/home/vscode/.local/juvix"
},
"juvix-mode.bin.path": "/home/vscode/.local/bin/juvix",
"juvix-mode.input.languages": [
"Juvix",
"JuvixCore",
"Haskell"
],
"juvix-mode.input.languages": ["Juvix", "JuvixCore", "Haskell"],
"juvix-mode.reloadReplOnSave": true
},
"extensions": [

View File

@ -28,14 +28,20 @@ repos:
exclude: assets/
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.6
rev: v3.0.3
hooks:
- id: prettier
types_or: [css, javascript, markdown, yaml, toml]
types_or: [css, javascript, markdown, yaml]
exclude: examples/|tests/|assets/
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
hooks:
- id: prettier
types_or: [json]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v15.0.7
rev: v16.0.6
hooks:
- id: clang-format
files: runtime/.+\.(c|h)$