mirror of
https://github.com/ansible/awx.git
synced 2026-03-24 12:25:01 -02:30
Merge pull request #6684 from nixocio/update_ui_docs_naming
Add note about code style for ui_next Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -31,6 +31,10 @@ Have questions about this document or anything not covered here? Feel free to re
|
|||||||
- All code submissions are done through pull requests against the `devel` branch.
|
- All code submissions are done through pull requests against the `devel` branch.
|
||||||
- If collaborating with someone else on the same branch, please use `--force-with-lease` instead of `--force` when pushing up code. This will prevent you from accidentally overwriting commits pushed by someone else. For more information, see https://git-scm.com/docs/git-push#git-push---force-with-leaseltrefnamegt
|
- If collaborating with someone else on the same branch, please use `--force-with-lease` instead of `--force` when pushing up code. This will prevent you from accidentally overwriting commits pushed by someone else. For more information, see https://git-scm.com/docs/git-push#git-push---force-with-leaseltrefnamegt
|
||||||
- We use a [code formatter](https://prettier.io/). Before adding a new commit or opening a PR, please apply the formatter using `npm run prettier`
|
- We use a [code formatter](https://prettier.io/). Before adding a new commit or opening a PR, please apply the formatter using `npm run prettier`
|
||||||
|
- We adopt the following code style guide:
|
||||||
|
- functions should adopt camelCase
|
||||||
|
- constructors/classes should adopt PascalCase
|
||||||
|
- constants to be exported should adopt UPPERCASE
|
||||||
|
|
||||||
## Setting up your development environment
|
## Setting up your development environment
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user