You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/10/03 03:13:00 UTC

[jira] [Commented] (CB-12766) Cordova CLI changes package.json indentation

    [ https://issues.apache.org/jira/browse/CB-12766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16189204#comment-16189204 ] 

ASF GitHub Bot commented on CB-12766:
-------------------------------------

Github user alexreg commented on the issue:

    https://github.com/apache/cordova-lib/pull/558
  
    Surely the whitespace settings should simply be maintained, like NPM/Yarn does? i.e. if it's already using tabs, keep tabs, and keep the number of spaces being used.


> Cordova CLI changes package.json indentation
> --------------------------------------------
>
>                 Key: CB-12766
>                 URL: https://issues.apache.org/jira/browse/CB-12766
>             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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org