Skip to content

Commit dd8e44a

Browse files
committed
Merge branch 'master' into v1.3.0-integration
2 parents 76858f0 + 92b32db commit dd8e44a

File tree

2 files changed

+79
-0
lines changed

2 files changed

+79
-0
lines changed

CODE_OF_CONDUCT.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Contributor Code of Conduct
2+
3+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4+
5+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
6+
7+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8+
9+
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. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10+
11+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12+
13+
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)

CONTRIBUTING.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Contributing
2+
3+
We are open to, and grateful for, any contributions made by the community. By contributing to Redux Toolkit, you agree to abide by the [code of conduct](https://github.com/reduxjs/redux-toolkit/blob/master/CODE_OF_CONDUCT.md).
4+
5+
## Reporting Issues and Asking Questions
6+
7+
Before opening an issue, please search the [issue tracker](https://github.com/reduxjs/redux-toolkit/issues) to make sure your issue hasn't already been reported.
8+
9+
Please ask any general and implementation specific questions on [Stack Overflow with a Redux Toolkit tag](http://stackoverflow.com/questions/tagged/redux-toolkit?sort=votes&pageSize=50) for support.
10+
11+
## Development
12+
13+
Visit the [Issue tracker](https://github.com/reduxjs/redux-toolkit/issues) to find a list of open issues that need attention.
14+
15+
Fork, then clone the repo:
16+
17+
```
18+
git clone https://github.com/your-username/redux-toolkit.git
19+
```
20+
21+
### Building
22+
23+
Running the `build` task will create both a CommonJS module-per-module build and a UMD build.
24+
25+
```
26+
npm run build
27+
```
28+
29+
### Testing and Linting
30+
31+
To run the tests:
32+
33+
```
34+
npm run test
35+
```
36+
37+
To continuously watch and run tests, run the following:
38+
39+
```
40+
npm test -- --watch
41+
```
42+
43+
To perform linting with `eslint`, run the following:
44+
45+
```
46+
npm run lint
47+
```
48+
49+
### New Features
50+
51+
Please open an issue with a proposal for a new feature or refactoring before starting on the work. We don't want you to waste your efforts on a pull request that we won't want to accept.
52+
53+
## Submitting Changes
54+
55+
- Open a new issue in the [Issue tracker](https://github.com/reduxjs/redux-toolkit/issues).
56+
- Fork the repo.
57+
- Create a new feature branch based off the `master` branch.
58+
- Make sure all tests pass and there are no linting errors.
59+
- Submit a pull request, referencing any issues it addresses.
60+
- If you changed external-facing types, make sure to also build the project locally and include the updated API report file etc/redux-toolkit.api.md in your pull request.
61+
62+
Please try to keep your pull request focused in scope and avoid including unrelated commits.
63+
64+
After you have submitted your pull request, we'll try to get back to you as soon as possible. We may suggest some changes or improvements.
65+
66+
Thank you for contributing!

0 commit comments

Comments
 (0)