usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
25.27k stars 1.15k forks source link

Introduce formatter and linter for app #2626

Open shrilakshmishastry opened 2 months ago

shrilakshmishastry commented 2 months ago

I have checked the following:

Describe the feature you want to add

The built-in nextjs formatter and linter is not strong enough to figure out errors in reactjs. Introduce biome and vscode settings.

why biome? It's a fast all in one formatter and linter pacakge

why vscode settings? for frontend development mostly opted editor is vscode, hence it make sense to write .vscode settings to have biome as default formatternext

Mockups or Images of the feature

with biome

image

without biome

image
sfreeman422 commented 1 month ago

What advantages does biome provide over the de facto prettier/eslint combination used on most web applications?

I would not be in favor of vscode settings since it makes an assumption about a developers dev environment that may or may not be true. Ideally something that is IDE agnostic should be preferred.

shrilakshmishastry commented 1 month ago

Advantages of biome

why vscode settings? because for frontend development most of the developers prefer vscode.