We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CLI: Version: 1.9.4 Color support: true Platform: CPU Architecture: x86_64 OS: windows Environment: BIOME_LOG_PATH: unset BIOME_LOG_PREFIX_NAME: unset BIOME_CONFIG_PATH: unset NO_COLOR: unset TERM: unset JS_RUNTIME_VERSION: "v20.14.0" JS_RUNTIME_NAME: "node" NODE_PACKAGE_MANAGER: "bun/1.1.34" Biome Configuration: Status: Loaded successfully Formatter disabled: false Linter disabled: false Organize imports disabled: false VCS disabled: true Workspace: Open Documents: 0
I'm receiving Expected an array, an object, or a literal but instead found whenever I add a comment to a JSONC file. Repro.
Expected an array, an object, or a literal but instead found
Here's my biome.json:
{ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", "files": { "ignoreUnknown": true, "maxSize": 10485760 }, "formatter": { "lineWidth": 110 }, "javascript": { "formatter": { "arrowParentheses": "asNeeded" }, "parser": { "unsafeParameterDecoratorsEnabled": true } }, "json": { "formatter": { "trailingCommas": "none" }, "parser": { "allowComments": true, "allowTrailingCommas": true } }, "linter": { "enabled": true, "rules": { "recommended": true, "a11y": { "useKeyWithClickEvents": "off" }, "security": { "noDangerouslySetInnerHtml": "warn" }, "style": { "noNonNullAssertion": "off", "noParameterAssign": "warn", "useSingleVarDeclarator": "off" }, "suspicious": { "noExplicitAny": "off" } } } }
It should allow comments at least in JSONC format.
The text was updated successfully, but these errors were encountered:
Hello @hyoretsu, please provide a minimal reproduction. You can use one of the following options:
npm create @biomejs/biome-reproduction
Issues marked with S-Needs repro will be closed if they have no activity within 3 days.
S-Needs repro
Sorry, something went wrong.
Nevermind, it's related to this issue from the VSCode extension.
No branches or pull requests
Environment information
What happened?
I'm receiving
Expected an array, an object, or a literal but instead found
whenever I add a comment to a JSONC file. Repro.Here's my biome.json:
Expected result
It should allow comments at least in JSONC format.
Code of Conduct
The text was updated successfully, but these errors were encountered: