-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CONTRIBUTING.md and STYLEGUIDE.md #6340
base: upcoming
Are you sure you want to change the base?
Conversation
Updated all issue templates to include checklists from CONTRIBUTING Updated PR template to include checcklists from CONTRIBUTING Moved styleguide into its own file
Created merge checklist
Co-authored-by: Alex <[email protected]>
CONTRIBUTING.md
Outdated
#### 3. Create a new branch | ||
This will create a new branch and switch to it. | ||
```bash | ||
git checkout -b newFeature # the name newFeature can be anything you want. This tutorial assumes you used newFeature. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
git switch -c newFeature
also works
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a difference / should I change it? legitimately asking
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's a functional difference.
But git switch
only handles switching branches, while checkout
does much more stuff. I prefer to use switch
for branch switching.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/STYLEGUIDE.md
Outdated
prefixed with `s`. | ||
|
||
```c | ||
extern int gMyGlobalVariable; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it use s32
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/STYLEGUIDE.md
Outdated
|
||
### Comments | ||
|
||
Ideally, contributions have descriptive variable, function and constant names so as to explain functionality without comments. When a comment is used, the content of the comment dhould explain _WHY_ a specific system or component works the way it does. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dhould
should be should
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/STYLEGUIDE.md
Outdated
if (bar) | ||
foo++; | ||
|
||
return foo; // incorrect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't this be correct
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: hedara90 <[email protected]>
Co-authored-by: hedara90 <[email protected]>
This reverts commit 56eccd1.
Added ghoulslash expertise
Description
CONTRIBUTING.md
, which instructs users on how to contribute pull requests, bug reports, and feature requests to expansion.CONTRIBUTING.md
STYLEGUIDE.md
to codify our existing "rules"docs/team_procedures/merge_checklist.md
to help maintainers remember what should be done before merging a PRPeople who collaborated with me in this PR
@Pawkkie, @garakmon
Discord contact info
pkmnsnfrn
There is a discussion thread.