Граф коммитов

8 Коммитов

Автор SHA1 Сообщение Дата
Paul Morris 1bd77215b1 Bug 1577835 - Reformat the .eslintrc.js files with Prettier. r=mkmelin
# ignore-this-changeset

These changes were achieved by deleting the .eslintrc.js
line from the .prettierignore file and running:
|mach eslint --fix|
2019-08-31 08:56:13 -04:00
Paul Morris 8057711ec3 Bug 1577835 - Reformat mailnews/ code with eslint and Prettier. r=mkmelin
# ignore-this-changeset

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 mailnews/ --fix|

2. Reformatting the code using Prettier.

Done by deleting the mailnews/ line from
the .prettierignore file and running:
|mach eslint mailnews/ --fix|
2019-08-30 22:10:02 -04:00
Paul Morris bbcaaa4b09 Bug 1577835 - Reformat mail/ code with eslint and Prettier. r=mkmelin
# ignore-this-changeset

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|
2019-08-30 16:19:44 -04:00
Paul Morris 9c14bf57b9 Bug 1577835 - Reformat editor/ code with eslint and Prettier. r=mkmelin
# ignore-this-changeset

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 editor/ --fix|

2. Reformatting the code using Prettier.

Done by deleting the editor/ line from
the .prettierignore file and running:
|mach eslint editor/ --fix|
2019-08-30 15:45:11 -04:00
Paul Morris 7cb3fd44f2 Bug 1577835 - Reformat common/ and ldap/ code. r=mkmelin
# ignore-this-changeset

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 common/ --fix|

2. Reformatting the code using Prettier.

Done by deleting the common/ and ldap/ lines from
the .prettierignore file and running:
|mach eslint chat/ --fix|
2019-08-30 15:15:33 -04:00
Paul Morris aeee638528 Bug 1577835 - Reformat chat/ code with eslint and Prettier. r=mkmelin
# ignore-this-changeset

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 chat/ --fix|

2. Reformatting the code using Prettier.

Done by deleting the chat/ line from
the .prettierignore file and running:
|mach eslint chat/ --fix|
2019-08-30 13:43:03 -04:00
Paul Morris 7015786614 Bug 1577606 - Adjust eslint and prettier config for reformatting. r=darktrojan 2019-08-29 15:09:53 -04:00
Paul Morris 9bcc5607c2 Bug 1577606 - Turn on Prettier but ignore all directories. r=darktrojan 2019-08-12 13:53:43 -04:00