npm install on a project with unit testing enabled reformats `tsconfig.json`

Offen
#4,475 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@endarova arbeitet bereits daran.

Seit 08.4.2019.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

bug

Is your feature request related to a problem? Please describe.
On a project with unit testing enabled, whenever you run a yarn on npm install, it reformats the tsconfig.json according to a different ruleset than that found in the projects .editorconfig

Describe the solution you'd like
whenever a plugin attempts to make changes to a file, it leaves it in the same format that it found it.

Additional context

This project has an example https://github.com/resideo-platform/exemplar/blob/cl%2Fbigtesting/tsconfig.json

Vorherrschende Sprache
JavaScript
Sterne
1.1k
Forks
204
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
8

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus NativeScript/nativescript-cli

Alle Issues in NativeScript/nativescript-cli

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.