Details

    • Epic Link:
    • Sprint:
      Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2, Blue Ocean 1.5 - beta 3
    • Similar Issues:

      Description

      Implement prettier autoformatting for great good.

        Attachments

          Activity

          Hide
          kshultz Karl Shultz added a comment -

          Michael Neale and Josh McDonald - autoformatting of what?

          Show
          kshultz Karl Shultz added a comment - Michael Neale and Josh McDonald - autoformatting of what?
          Hide
          michaelneale Michael Neale added a comment -

          Karl Shultz of the js source code. 

           

          The theory (currently an experiment) is that instead of using lint rules - using git hooks the js will be automatically formatted to be "correct" effectively when you save or push the file, so no more failed builds/discussion on style things in js (gofmt for golang is a similar idea). 

          Show
          michaelneale Michael Neale added a comment - Karl Shultz of the js source code.    The theory (currently an experiment) is that instead of using lint rules - using git hooks the js will be automatically formatted to be "correct" effectively when you save or push the file, so no more failed builds/discussion on style things in js (gofmt for golang is a similar idea). 
          Hide
          kshultz Karl Shultz added a comment -

          Oh, neat. Thanks for the clarification.

          Show
          kshultz Karl Shultz added a comment - Oh, neat. Thanks for the clarification.
          Hide
          sophistifunk Josh McDonald added a comment - - edited
          Show
          sophistifunk Josh McDonald added a comment - - edited PR to adjust documentation  https://github.com/jenkinsci/blueocean-plugin/pull/1679
          Hide
          sophistifunk Josh McDonald added a comment -

          Next week I'll work with the team to coordinate running this over the remaining unformatted JS codebase at once so that we can reduce formatting-only changes going forward.

          Show
          sophistifunk Josh McDonald added a comment - Next week I'll work with the team to coordinate running this over the remaining unformatted JS codebase at once so that we can reduce formatting-only changes going forward.
          Hide
          sophistifunk Josh McDonald added a comment -

          Bulk formatting done in master @ 1510403599e366d124cce71232cdb3aff5423edd

          Show
          sophistifunk Josh McDonald added a comment - Bulk formatting done in master @ 1510403599e366d124cce71232cdb3aff5423edd

            People

            • Assignee:
              sophistifunk Josh McDonald
              Reporter:
              michaelneale Michael Neale
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: