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

additionalConfigArguments 类型错误,vscode标黄 #206

Open
strickczq opened this issue Jun 21, 2023 · 0 comments
Open

additionalConfigArguments 类型错误,vscode标黄 #206

strickczq opened this issue Jun 21, 2023 · 0 comments
Labels

Comments

@strickczq
Copy link

Xmake 版本

2.7.9

操作系统版本和架构

macOS 13.4

描述问题

image

粗看了一下,package.json 这里有问题

"type": "string[]",

根据 vscode 官方说明,这里应该符合 JSON Schema 的格式。
https://json-schema.org/understanding-json-schema/reference/array.html#id6

所以应当改为

{
  "type": "array",
  "items": {
    "type": "string"
  }
}

期待的结果

vscode 不标黄

工程配置

No response

附加信息和错误日志

No response

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

No branches or pull requests

1 participant