๐ Biome Not Linting NestJs Repositories
Closed this issue ยท 3 comments
VS Code version
1.87
Extension version
2.2.1
Biome version
1.5.3
Operating system
- Windows
- macOS
- Linux
Description
Attached is the screenshot of the NestJs controller and what Biome is complaining about
![image](https://private-user-images.githubusercontent.com/287302/310734089-5633e500-8312-4ec9-bf81-5d39f8db93b8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1NzMzOTUsIm5iZiI6MTcyMDU3MzA5NSwicGF0aCI6Ii8yODczMDIvMzEwNzM0MDg5LTU2MzNlNTAwLTgzMTItNGVjOS1iZjgxLTVkMzlmOGRiOTNiOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMFQwMDU4MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lZGNmMDc3MjI3ZDRiY2FlNDRiMWJhOWMzMWI4MzA1N2NkMzY4MmYyM2Y5YmVkMGQ2Y2JmNzRlMmNjNGEwOTUxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.mx0O8KgTcQGyLS3Kc31fZIkHpeBPLuVuuQVIBotWMiI)
biome.json
settings as below
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingComma": "none"
},
"parser": {
"unsafeParameterDecoratorsEnabled": true
}
}
Steps to reproduce
Editor starts complaining
Expected behavior
VSCode extension is not respecting the rules that CLI is respecting
Does this issue occur when using the CLI directly?
No
Logs
No response
Hey @vbasky,
Is there any chance that your biome.json
file is not at the root of your workspace folder?
As you can see in the following video, the diagnostic appears when the biome.json
file is not at the root of the workspace folder, causing it to fallback to the defaults, in which unsafeParameterDecoratorsEnabled
is set to false
.
Screen.Recording.2024-03-07.at.05.46.23.mov
Thank you for the quick turnaround that was the issue we had an app folder and the biome.json was within it. That solves it for now but is there a way to configure it within a folder ?