This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
rome.requireConfiguration
should be true
by default?
#4408
diraneyya
started this conversation in
Suggestions
Replies: 1 comment 3 replies
-
Hey @diraneyya ! Thank you very much for your feedback! That's a great one! You made really good points and I can relate to them. There's few points that I'd like to highlight:
I think Rome shouldn't distance itself too much from its original goal (being a language server). Here's what a propose: by default, if no configuration is present, the extension should show only parsing errors. What do you think? That's what the existing typescript language server does in VSCode. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear lovelies in the Rome team!
First of all I would like to really congratulate you for reaching version 12! Simple features like formatting JSON made it possible for me to finally recommend this wonderful tool in my full-stack bootcamp student projects (yes! I am a full-stack development instructor).
One thing that stood out to me (beside the inability to format JSON with comments, with an easy fix for now using file association setting in Vscode) is the default value for the
rome.requireConfiguration
setting.I think it is wise at this stage to assume that most projects would be using other linters, and/or in many cases, might not need linting at all (such as in the case of built/transpiled files often in a folder named
dist
).This default value is particularly unhandy when we recommend the rome vscode extension to be installed upon opening the workspace (using the
extensions.json
file in the.vscode
folder in the workspace) since this might later make the user regret following our recommendation (when they see all those rome linting errors in other projects), especially if they are a beginner.Hence my recommendation would be to only activate the rome plugin in projects where there is a configuration file, by default.
Beta Was this translation helpful? Give feedback.
All reactions