Skip to content

preserve formatting #3

@parliament718

Description

@parliament718

My original code has formatting:

angular.module('appModule', [
    'dep1', 'dep2',
    'dep3',
    'dep4'

 ]).run(...);

Needless to say the app has ALOT more dependencies, however, this task doesnt preserve formatting and outputs a humongous one-liner.

angular.module('appModule', ['dep1', 'dep2', 'dep3', 'dep4']).run(function() {
   //run code
});

Unfortunately, I cannot use it like this as it makes the code hard to read, manage, and merge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions