onnxruntime/js/.vscode/settings.json
Yulong Wang 641c3a4a37
[js/web] update op test schema (#16921)
### Description
update op test schema.

This changes fixes several problems for operator tests for web:
- `opsets` -> `opset`: an operator uses exactly one opset instead of
multiple
- `condition` -> `platformCondition`: make it less confusing
- `inputShapeDefinitions`: allows to test ORT behaviors when it get
no/partial/full shape info.

Added a JSON schema file and also an example file
2023-08-03 14:20:20 -07:00

56 lines
1.5 KiB
JSON

{
"[cpp]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "xaver.clang-format"
},
"[json]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "xaver.clang-format"
},
"[typescript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "xaver.clang-format"
},
"clang-format.executable": "${workspaceRoot}/node_modules/.bin/clang-format",
"clang-format.style": "file",
"editor.detectIndentation": false,
"editor.insertSpaces": true,
"editor.rulers": [120],
"editor.tabSize": 2,
"editor.wrappingIndent": "none",
"files.exclude": {
"common/lib/**/*.js.map": true,
"common/lib/**/*.js": true,
"node/lib/**/*.js.map": true,
"node/lib/**/*.js": true,
"web/lib/**/*.js.map": true,
"web/lib/**/*.js": true
},
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"search.exclude": {
"**/node_modules": true,
"./types": true
},
"typescript.tsdk": "node_modules/typescript/lib",
"git.detectSubmodules": false,
"cmake.configureOnOpen": false,
"json.schemas": [
{
"fileMatch": ["web/test/data/ops/*.jsonc"],
"url": "./web/test/op-test-schema.json"
}
]
}