treeherder/docs
Ed Morley 65b7f4ab45
Bug 1507172 - Use Prettier for formatting JS/JSX (#4276)
Since it's more reliable (and strict) at code formatting than ESLint.
We use it via an ESLint plugin, and so disable the style-related AirBnB
preset rules, leaving the AirBnB guide to handle only correctness and
best practices rules.

It's highly encouraged to use an IDE integration or Git commit hook
to run Prettier (or `yarn lint --fix`) automatically. See:
* https://prettier.io/docs/en/editors.html
* https://prettier.io/docs/en/precommit.html

We may consider enabling a git commit hook out of the box (using eg
Husky) in the future, however they have previously been known to
interfere with partial-staging workflows, so would need to test the
fixes they have made for them thoroughly first.

In future PRs we may also want to start formatting JSON/CSS/Markdown
using Prettier too.
2018-11-16 08:28:34 +00:00
..
admin.md Bug 1349182 - Remove support for submitting jobs via the REST API (#4075) 2018-09-28 02:17:48 +01:00
backend_tasks.md Bug 1502306 - Make it easier to run Selenium tests (#4194) 2018-10-29 17:07:38 +00:00
code_style.md Bug 1507172 - Use Prettier for formatting JS/JSX (#4276) 2018-11-16 08:28:34 +00:00
common_tasks.md Bug 1166905 - Combine UI and server docs (#4083) 2018-10-09 12:38:30 -07:00
conf.py Bug 1466084 - Docs: Add Sphinx markdown support 2018-07-30 20:49:01 +02:00
data_validation.md Bug 1466084 - Docs: Convert markup from reST to markdown 2018-07-30 20:49:01 +02:00
index.rst Bug 1166905 - Combine UI and server docs (#4083) 2018-10-09 12:38:30 -07:00
installation.md Bug 1507172 - Use Prettier for formatting JS/JSX (#4276) 2018-11-16 08:28:34 +00:00
pulseload.md Bug 1281821 - Docs: Correct Pulse environment variable references (#4097) 2018-10-04 12:08:04 +01:00
rest_api.md Bug 1166905 - Combine UI and server docs (#4083) 2018-10-09 12:38:30 -07:00
retrieving_data.md Bug 1466084 - Docs: Convert markup from reST to markdown 2018-07-30 20:49:01 +02:00
seta.md Bug 1443251 - Remove runnable jobs support for buildbot (#4071) 2018-09-27 19:15:47 +01:00
submitting_data.md Bug 1349182 - Remove support for submitting jobs via the REST API (#4075) 2018-09-28 02:17:48 +01:00
testcases.md Bug 1443251 - Remove support for buildbot job ingestion (#4087) 2018-10-02 11:07:27 +01:00
troubleshooting.md Bug 1466084 - Docs: Convert markup from reST to markdown 2018-07-30 20:49:01 +02:00