Skip to content

Commit 1df478d

Browse files
authored
Merge pull request #245 from Codebrahma/rishichawda-patch-1
Create CONTRIBUTING.md
2 parents a82df0b + 1c9cbb7 commit 1df478d

File tree

2 files changed

+129
-0
lines changed

2 files changed

+129
-0
lines changed

CODE_OF_CONDUCT.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Code of Conduct
2+
3+
> A code of conduct is a set of rules outlining the social norms and rules and responsibilities of, or proper practices for, an individual, party or organization
4+
5+
## Summary
6+
7+
Be kind and do not insult or put down others. Behave professionally.
8+
9+
These are the values to which people in the community should aspire:
10+
11+
- Be friendly and welcoming
12+
- Be patient
13+
- Remember that people have varying communication styles and that not everyone is using their native language.
14+
(Meaning and tone can be lost in translation.)
15+
- Be thoughtful
16+
- Productive communication requires effort. Think about how your words will be interpreted.
17+
- Remember that sometimes it is best to refrain entirely from commenting.
18+
- Be respectful
19+
- In particular, respect differences of opinion.
20+
- Be charitable
21+
- Interpret the arguments of others in good faith, do not seek to disagree.
22+
- When we do disagree, try to understand why.
23+
- Avoid destructive behavior:
24+
- Derailing: stay on topic; if you want to talk about something else, start a new conversation.
25+
- Unconstructive criticism: don't merely decry the current state of affairs; offer—or at least solicit—suggestions as
26+
to how things may be improved.
27+
- Snarking (pithy, unproductive, sniping comments)
28+
- Discussing potentially offensive or sensitive issues; this all too often leads to unnecessary conflict.
29+
- Microaggressions: brief and commonplace verbal, behavioral and environmental indignities that communicate hostile,
30+
derogatory or negative slights and insults to a person or group.

CONTRIBUTING.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# Contributing
2+
3+
When contributing to this repository, please first discuss the change you wish to make via an issue,
4+
with the owners of this repository before making a change. You can open an issue [here](https://github.com/Codebrahma/react-lite-ui/issues).
5+
6+
Please note we have a code of conduct, please follow it in all your interactions with the project.
7+
8+
## Pull Request Process
9+
10+
1. Ensure that all external dependencies not required for the build / development flow are removed
11+
before build.
12+
2. Update the documentation for the component ( if applicable ).
13+
3. Ensure all tests are passing and are above the coverage threshold.
14+
4. Your Pull Request can be merged in once you have the sign-off of atleast one other developer. If you find that your
15+
Pull Request has been approved and not been merged, you can ask the reviewer to merge it. Incase there has been no activity
16+
on your pull request :
17+
* Ensure there is an issue open which is related to the request. Pull requests without any related issues will not be processed.
18+
* Check for activity in other issues / pull requests related to your pull request.
19+
20+
## Code of Conduct
21+
22+
Our team is dedicated towards creating and maintaining an ethical, responsible and positive environment for the community.
23+
Please go through our code of conduct to read about some of the ways in which we can maintain proper communication.
24+
25+
## Getting Started
26+
27+
To run the project locally, you can :
28+
29+
1. Clone the repository :
30+
31+
via SSH :
32+
```
33+
git clone git@github.com:Codebrahma/react-lite-ui.git
34+
```
35+
36+
**or**
37+
38+
via HTTPS:
39+
```
40+
git clone https://github.com/Codebrahma/react-lite-ui.git
41+
```
42+
43+
2. Install dependencies from `package.json` :
44+
45+
```
46+
npm install && cd doc && npm install
47+
```
48+
49+
50+
3. To run the documentation page in your local server :
51+
```
52+
npm run docs:dev
53+
```
54+
55+
**Note :** If you are willing to contribute to the project, then you can fork the repository and raise a Pull Request from
56+
the fork.
57+
58+
### Adding features / functionalities :
59+
60+
If you want to add a new feature to the existing set of functionalities, we recommend you to
61+
first discuss with the repository maintainers by opening an issue [here](https://github.com/Codebrahma/react-lite-ui/issues).
62+
Please note that we may add a suggested feature only if it adds value to our [purpose](#purpose-) of this project.
63+
64+
#### Notes on adding new functionalities :
65+
66+
After adding a new feature, please go through the following :
67+
68+
1. Proper tests for the new features have been added and are passing.
69+
2. All the tests should pass.
70+
3. Documentation has been updated with new features and instructions of their usage.
71+
72+
## Purpose :
73+
74+
The purpose of this project is to provide a component library and ultimately a UI kit that is
75+
easier to customise, lightweight and easy to use than any other popular libraries are / have been able to provide.
76+
The focus is on keeping the components as minimal as possible while providing various options to
77+
customise which might generally be required in a scalable production code and can decrease the overhead of
78+
complicated configurations, code styles or other requirements.
79+
80+
### Our Responsibilities
81+
82+
Project maintainers are responsible for clarifying the standards of acceptable
83+
behavior and are expected to take appropriate and fair corrective action in
84+
response to any instances of unacceptable behavior.
85+
86+
Project maintainers have the right and responsibility to remove, edit, or
87+
reject comments, commits, code, wiki edits, issues, and other contributions
88+
that are not aligned to this Code of Conduct, or to ban temporarily or
89+
permanently any contributor for other behaviors that they deem inappropriate,
90+
threatening, offensive, or harmful.
91+
92+
### Scope
93+
94+
This Code of Conduct applies both within project spaces and in public spaces
95+
when an individual is representing the project or its community. Examples of
96+
representing a project or community include using an official project e-mail
97+
address, posting via an official social media account, or acting as an appointed
98+
representative at an online or offline event. Representation of a project may be
99+
further defined and clarified by project maintainers.

0 commit comments

Comments
 (0)