improve error message for npm-based formatters to emphasize local-only
- Langage dominant
- Java
- Étoiles
- 5.7k
- Forks
- 561
- Merge moyen
- 1 j 14 h
- PR mergées (30 j)
- 43
Description
Hello dear maintainers,
I was setting up spotless in my project and while trying it out I started facing the below exception (which I already managed to fix).
I got a bit scared though, because it seems that it's trying to send my code to a remote server... is that correct?
I understand that you don't have control over all the plugins (i.e. I guess nothing would prevent prettier itself from doing this), but in this case here it seems that potential code leaking is coming from spotless itself.
If the answer to the above question is "yes", is it possible to optout of this altogether?
The below exception seems to be related to [this class](https://github.com/diffplug/spotless/blob/main/lib/src/main/java/com/diffplug/spotless/npm/SimpleRestClient.java), but I can't make any conclusions just by looking at this class alone.
Thanks!
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par lire lib/src/main/java/com/diffplug/spotless/npm/SimpleRestClient.java et suivre l’Exception affichée dans l’issue. Déterminez quel message les formateurs basés sur npm exposent actuellement, puis mettez-le à jour pour mettre l’accent sur un fonctionnement exclusivement local et clarifier toute interaction distante ; vérifiez la formulation d’erreur obtenue à l’aide des vérifications existantes pertinentes, le cas échéant.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java, javascript
- Domaine
- tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100