author Paul Morris <paul@thunderbird.net>
Mon, 16 Sep 2019 11:25:41 -0400
changeset 35833 f9486202905d9c293f0cf3476373959ab05b037e
parent 32976 73984916cb117ed8cb992a9c33aafb246c9f6a6f
permissions -rw-r--r--
Bug 1578477 - Reformat mail/ code with eslint and Prettier. r=mkmelin # ignore-this-changeset "Ported" from bug 1577835, but actually recreated by running the auto-formatting steps below. These changes were achieved by: 1. Using eslint to add curly brackets to control statements that did not have them (if, else, etc.), thanks to the eslint rule: "curly": ["error", "all"] Done by running |mach eslint mail/ --fix| 2. Reformatting the code using Prettier. Done by deleting the mail/ line from the .prettierignore file and running: |mach eslint mail/ --fix|

extends: default

     present: false
     present: true
     spaces: 4
  # Checks currently failing
  line-length: disable