How can I disable yaml schema for space yaml file?
See original GitHub issueSummary
Our server has an yaml file named cluster.yml
, it’s for our server only, but yaml think it’s config for rke-cluster, and warn as blow:
Property Register is not allowed.yaml-schema: https://raw.githubusercontent.com/dcermak/vscode-rke-cluster-config/main/schemas/cluster.yml.json
I never install the vscode-ext vscode-rke
It looks like the vscode config yaml.schemas
can control it but I don’t know how to set a “no schema”:
eg:
"yaml.schemas": {
"": "cluster.yaml",
},
Really thinks for help.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:5
Top Results From Across the Web
How to configure YAML schema to make editing files easier
To help with editing, it is possible to provide a YAML schema that can be leveraged by a large set of integrated development...
Read more >YAML - Visual Studio Marketplace
The association of a YAML file to a schema can be done either in the YAML file itself using a modeline or in...
Read more >Configuration — yamllint 1.28.0 documentation - Read the Docs
yamllint uses a set of rules to check source files for problems. Each rule is independent from the others, and can be enabled,...
Read more >visual studio code - VSC temporarily turn off yaml lintin
maybe try to disable the yaml.schemaStore ? go in in settings.json and add : "yaml.schemaStore.enable": false.
Read more >YAML Validations - DEV Community
To do it, create a .yamllint file at the top level of your project. Then, in this file, you can enable/disable rules or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@szyhf I’ve been able to accomplish this with an empty schema file, either locally or in some absolute directory, e.g.
where
.empty_schema.json
is a file with the following contents:@evilensky sure 😃 I’ve saved the empty file in my home directory, and then used an absolute path to that file, so the setting works in every project 😃