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|
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# This file needs to stay here even if empty so that mach will work,
# specifically commands like mach file-info.