UNPKG

1.48 kBMarkdownView Raw
1# Contributing
2
3New contributions are welcomed. Follow this guide if you want to make one.
4
5## Make a pull request
6
7Follow [Github guide](https://help.github.com/articles/creating-a-pull-request) to fork a repo
8and create a pull request.
9
10All bug fixes and new features should go to the [`master`](https://github.com/gemini-testing/glob-extra/tree/master) branch.
11
12## Commit messages
13
14Commit messages should describe what have been changed and why. The first line should be wrapped
15to 50 characters, the second one should be blank. All other lines should be wrapped to 72 characters.
16
17## Code style and static analysis
18
19Before submitting pull request, make sure your code passes all code style and static analysis checks.
20To do so, run:
21
22```
23npm run lint
24```
25
26## Tests
27
28Make sure all tests are passing before submitting pull request:
29
30```
31npm test
32```
33
34If you are fixing the bug, add a test that fails without your patch and passes with it. If you are
35adding a feature, write a test for it. To see test coverage report run:
36
37```
38npm run cover
39```
40
41## Issues reporting
42
43When submitting an issue please do following:
44
451. [Search](https://github.com/gemini-testing/glob-extra/issues) for same issues on github in order to prevent duplicates
462. Provide the most detailed issue description so we will additional info to work with
47
48Note that if no response for contributors questions will be provided in 1 week then issue may be considered as irrelevant/resolved and may be closed.