Skip to content

Commit

Permalink
Disable pre-commit prettier hook, fix schema issues, update deps (Sch…
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperupcall authored May 22, 2024
1 parent 24da9e4 commit fe46382
Show file tree
Hide file tree
Showing 20 changed files with 1,330 additions and 668 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ trim_trailing_whitespace = false
[*.cshtml]
indent_style = space
indent_size = 4

[*.sh]
indent_style = tab
26 changes: 13 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
---
repos:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: 'v3.1.0'
hooks:
- id: prettier
types_or: [yaml, json, javascript, css, markdown]
always_run: true
additional_dependencies:
- 'prettier@3.1.0'
- 'prettier-plugin-sort-json@3.1.0'
pass_filenames: true
entry: ./src/scripts/pre-commit-script.sh
- repo: https://github.com/codespell-project/codespell
# - repo: 'https://github.com/rbubley/mirrors-prettier'
# rev: 'v3.2.5'
# hooks:
# - id: 'prettier'
# types_or: ['yaml', 'json', 'javascript', 'css', 'markdown']
# always_run: true
# additional_dependencies:
# - 'prettier@3.2.5'
# - 'prettier-plugin-sort-json@4.0.0'
# pass_filenames: true
# entry: './src/scripts/pre-commit-script.sh'
- repo: 'https://github.com/codespell-project/codespell'
rev: 'v2.2.6'
hooks:
- id: codespell
- id: 'codespell'
exclude: '^src/(package-lock.json|test/openutau-ustx/bulaomeng.ustx.yaml|test/kustomization/labels.json|bin/.*)$'
args:
[
Expand Down
17 changes: 8 additions & 9 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,12 @@
],
"url": "https://json.schemastore.org/clangd.json"
},
{
"name": "clang-tidy",
"description": "clang-tidy linter from LLVM",
"fileMatch": [".clang-tidy", "clang-tidy.yml", "clang-tidy.yaml"],
"url": "https://json.schemastore.org/clang-tidy.json"
},
{
"name": "clib",
"description": "C package manager-ish",
Expand Down Expand Up @@ -3142,18 +3148,11 @@
"url": "https://json.schemastore.org/nightwatch.json"
},
{
"name": "ninjs (News in JSON) 2.0",
"name": "ninjs (News in JSON)",
"description": "A ninjs by the IPTC. News and publishing information. Documentation: https://iptc.org/standards/ninjs/",
"url": "https://json.schemastore.org/ninjs-2.0.json",
"versions": {
"2.0": "https://json.schemastore.org/ninjs-2.0.json"
}
},
{
"name": "ninjs (News in JSON) 1.3",
"description": "A ninjs by the IPTC. News and publishing information. Documentation: https://iptc.org/standards/ninjs/",
"url": "https://json.schemastore.org/ninjs-1.3.json",
"versions": {
"2.0": "https://json.schemastore.org/ninjs-2.0.json",
"1.3": "https://json.schemastore.org/ninjs-1.3.json",
"1.2": "https://json.schemastore.org/ninjs-1.2.json",
"1.1": "https://json.schemastore.org/ninjs-1.1.json",
Expand Down
Loading

0 comments on commit fe46382

Please sign in to comment.