Skip to content

Commit 806d130

Browse files
committedNov 27, 2018
project initialize
1 parent 76dd683 commit 806d130

File tree

410 files changed

+33997
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

410 files changed

+33997
-0
lines changed
 

‎CODE_OF_CONDUCT.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Attribution
36+
37+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
38+
39+
[homepage]: http://contributor-covenant.org
40+
[version]: http://contributor-covenant.org/version/1/4/

‎CONTRIBUTING.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## Contributing
2+
3+
**General Rules**
4+
5+
- As much as possible, try to follow the existing format of markdown and code.
6+
- Don't forget to run `npm run lint` and `npm test` before submitting pull requests.
7+
- Make sure that **100%** of your code is covered by tests.
8+
9+
**Contributing New Translation**
10+
11+
- Create new `README.xx-XX.md` file with translation alongside with
12+
main `README.md` file where `xx-XX` is [locale and country/region codes](http://www.lingoes.net/en/translator/langcode.htm).
13+
For example `en-US`, `zh-CN`, `zh-TW`, `ko-KR` etc.
14+
- You may also translate all other sub-folders by creating
15+
related `README.xx-XX.md` files in each of them.
16+
17+
**Contributing New Algorithms**
18+
19+
- Make your pull requests to be **specific** and **focused**. Instead of
20+
contributing "several sorting algorithms" all at once contribute them all
21+
one by one separately (i.e. one pull request for "Quick Sort", another one
22+
for "Heap Sort" and so on).
23+
- Provide **README.md** for each of the algorithms **with explanations** of
24+
the algorithm and **with links** to further readings.
25+
- Describe what you do in code using **comments**.

0 commit comments

Comments
 (0)
Please sign in to comment.