Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vscode] check schema definitions #336

Open
mcm1957 opened this issue Nov 26, 2024 · 0 comments
Open

[vscode] check schema definitions #336

mcm1957 opened this issue Nov 26, 2024 · 0 comments

Comments

@mcm1957
Copy link
Collaborator

mcm1957 commented Nov 26, 2024

If .vscode/settings.json exists, check json.schemas entries and issue a warning if incorrect or missing

.vscode/settings.json:

"json.schemas": [
{
"fileMatch": ["io-package.json"],
"url": "https://raw.githubusercontent.com/ioBroker/ioBroker.js-controller/master/schemas/io-package.json"
},
{
"fileMatch": ["admin/jsonConfig.json", "admin/jsonCustom.json", "admin/jsonTab.json"],
"url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json"
}
],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant