cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-12766) Cordova CLI changes package.json indentation
Date Thu, 08 Jun 2017 11:25:18 GMT


ASF GitHub Bot commented on CB-12766:

Github user uloco commented on the issue:
    When adding platforms or plugins, you also perform a config.xml rewrite. Will this merge
affect config.xml indentation rewrites, too? I do use 2 space indentation everywhere. It would
be nice if you could just get the default indentation for the file and use the present one.
Is this possible or worked on anywhere else?

> Cordova CLI changes package.json indentation
> --------------------------------------------
>                 Key: CB-12766
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-cli, cordova-lib
>    Affects Versions: 7.0.0
>            Reporter: Remco Haszing
>            Assignee: Kerri Shotts
>            Priority: Minor
>              Labels: cordova-next, easy-fix
> While Cordova is busy adding platforms / plugins, it writes to package.json several times.
In this process the indentation of package.json alternates between 2 and 4 spaces. The final
result is an indentation of 4 spaces, which conflicts with the indentation of 2 spaces that
npm uses.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message