[BUG] Don't create .cdsprettier.json
if the project is not SAP CAP project
#113
Labels
bug
Something isn't working
Is there an existing issue for this?
Current Behavior
It's quite annoying that the plugin now creates
.cdsprettier.json
everywhere..cdsprettier.json
.Expected Behavior
Verify that the current project is SAP CAP project by either checking
package.json
for@sap/cds
dependency or checking for.cdsrc.json
config existence before creating the.cdsprettier.json
config.Steps To Reproduce
Versions
plugin 1.4.1
node v22.13.0
OS / Environment
Windows
Repository Containing a Minimal Reproducible Example
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: