* chore: Update Prettier config, setting tabWidth:2
* style: Apply updated Prettier styles
If you need to rebase work past this style change, do as follows:
0. Consider this to be commit `commitA`, replacing that with its id in the following.
1. To make sure mistakes aren't fatal, assign a second branch to your current work.
2. Rebase your branch on the commit immediately before this one, commitA~
3. Run the following command at the root of the repo:
git rebase --strategy-option=theirs \
--exec 'npx prettier --write . && git add -u && git commit --amend --no-edit' \
commitA
That will take a short while esp. if you have multiple commits,
as it runs Prettier on everything for every commit.
If you've deleted files, the rebase may drop down to interactive mode
and have you `git rm` as appropriate, then `git rebase --continue`.
You should end up with just your changes in your branch,
prettily formatted. To validate that,
apply the same Prettier config change to your original branch,
reformat the files with `npm run prettier`,
and then compare the results with the rebased branch.
* chore: Clean up lint configs
This adds a new guide to start contributing to Pontoon, detailing all the needed steps and giving pointers to useful documentation. It also reworks the documentation home page to be more helpful to people depending on what they are looking for. And it does the same for the readme file.
* Fix bug 1478066 - Use volumes instead of symlinks in docker dev environment.
* Use docker-compose everywhere possible.
This also removes the new useless run_tests_in_docker.sh file, that was quite inconsistent with our use of the Makefile. Everything is a lot more streamlined and simple now.
Make Developer Setup with Docker default and recommended way of
installing Pontoon locally. Rename it to Developer Setup and make it
the first item in the main menu. Rename the legacy Developer Setup to
Developer Setup with virtualenv.
Also included:
* Remove the NOTE 'Installation via Docker is still a fresh feature'
and add a similar NOTE to legacy set up to use DOCKER.
* Update instructions for installing make on macOS.
* Change 'clone' operation to an actual step.
* Running tests section is already included in Contributing.
* Move Database and Building front-end resources sections under
Contributing.
* Update .gitignore.
1. Due to overlap, the following pages have been merged:
* Contributing
* Workflow
* Integration with fluent
2. The hashin package to requirements-dev.txt.
3. README has been updated with information that the listed deployments
are used for the localization of Mozilla projects only.