add hujson

This commit is contained in:
Joseph Hanson 2024-11-19 18:16:12 -06:00
parent 1b40c07f69
commit 67173021d1
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

51
.vscode/settings.json vendored
View file

@ -1,32 +1,41 @@
{ {
"ansible.validation.lint.arguments": "-c .ansible-lint", "ansible.validation.lint.arguments": "-c .ansible-lint",
"files.associations": { "files.associations": {
"*.json5": "jsonc", "*.json5": "jsonc",
"**/ansible/**/*.yaml": "ansible", "**/ansible/**/*.yaml": "ansible",
"**/ansible/**/*.sops.yaml": "yaml", "**/ansible/**/*.sops.yaml": "yaml",
"**/ansible/**/inventory/**/*.yaml": "yaml", "**/ansible/**/inventory/**/*.yaml": "yaml",
"**/kubernetes/**/*.sops.toml": "plaintext" "**/kubernetes/**/*.sops.toml": "plaintext",
"*.hujson": "jsonc"
}, },
"material-icon-theme.folders.associations": { "material-icon-theme.folders.associations": {
".taskfiles": "utils", ".taskfiles": "utils",
"bootstrap": "import", "bootstrap": "import",
"charts": "kubernetes", "charts": "kubernetes",
"hack": "scripts", "hack": "scripts",
"repositories": "database", "repositories": "database",
"vars": "other", "vars": "other",
// namespaces // namespaces
"cert-manager": "guard", "cert-manager": "guard",
"external-secrets": "keys", "external-secrets": "keys",
"kube-system": "kubernetes", "kube-system": "kubernetes",
"monitoring": "event", "monitoring": "event",
"networking": "connection", "networking": "connection",
"rook-ceph": "dump", "rook-ceph": "dump"
}, },
"yaml.schemaStore.enable": true, "yaml.schemaStore.enable": true,
"yaml.schemas": { "yaml.schemas": {
"ansible": "ansible/**/*.yaml", "ansible": "ansible/**/*.yaml",
"kubernetes": "kubernetes/**/*.yaml" "kubernetes": "kubernetes/**/*.yaml"
}, },
"json.schemas": [
{
"fileMatch": ["*.hujson"],
"schema": {
"allowTrailingCommas": true
}
}
],
"editor.fontFamily": "FiraCode Nerd Font", "editor.fontFamily": "FiraCode Nerd Font",
"editor.fontLigatures": true, "editor.fontLigatures": true,
"editor.bracketPairColorization.enabled": true, "editor.bracketPairColorization.enabled": true,
@ -35,9 +44,7 @@
"editor.guides.highlightActiveBracketPair": true, "editor.guides.highlightActiveBracketPair": true,
"editor.hover.delay": 1500, "editor.hover.delay": 1500,
"editor.stickyScroll.enabled": false, "editor.stickyScroll.enabled": false,
"editor.rulers": [ "editor.rulers": [100],
100
],
"explorer.autoReveal": false, "explorer.autoReveal": false,
"files.trimTrailingWhitespace": true, "files.trimTrailingWhitespace": true,
"ansible.python.interpreterPath": "/usr/bin/python3", "ansible.python.interpreterPath": "/usr/bin/python3",
@ -46,5 +53,5 @@
"prettier.quoteProps": "preserve", "prettier.quoteProps": "preserve",
"[jsonc]": { "[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, }
} }