Closed zhoujian-official closed 9 months ago
If you have the chance, could you try the latest nightly release? Just to confirm that it's fixed
If you have the chance, could you try the latest nightly release? Just to confirm that it's fixed
The latest nightly(1.4.1-nightly.bc772a3) seems have problems in dependencies. Here is package-lock's diff.
Is the bug still present in the latest release (1.5.2)?
Is the bug still present in the latest release (1.5.2)?
The error message is gone, but tsconfig.json
is not formatted, is this expected?
Is the bug still present in the latest release (1.5.2)?
The error message is gone, but
tsconfig.json
is not formatted, is this expected?
That's expected. It's a protected file: https://biomejs.dev/guides/how-biome-works/#protected-files
@ematipico Is there any specific reason Biome can not format tsconfig.json
files? I would love to apply my formatter rules to that file, so it follows the same style as the rest of the json files on my projects. I see that the latest nightly release allows formatting package.json
.
@ematipico Is there any specific reason Biome can not format
tsconfig.json
files? I would love to apply my formatter rules to that file, so it follows the same style as the rest of the json files on my projects. I see that the latest nightly release allows formattingpackage.json
.
Because it requires special formatting. Would you like to help and remove the restrictions?
Because it requires special formatting. Would you like to help and remove the restrictions?
Sure I can help. I asume that it is just allowing TSconfig to be linted and formatted, right? This will be my first time doing something in rust, but I will take a look at the PR enabling package.json
.
What is the special formatting you mean?
Because it requires special formatting. Would you like to help and remove the restrictions?
Sure I can help. I asume that it is just allowing TSconfig to be linted and formatted, right? This will be my first time doing something in rust, but I will take a look at the PR enabling
package.json
.What is the special formatting you mean?
tsconfig.json
and jsconfig.json
must be parsed as JSONC files, because that's why tsc
and VSCode parse these files. I order to opt-in this, you'll have to add these files in this array:
Environment information
What happened?
I think it is related to #933
Expected result
Code of Conduct