@@ -12,20 +12,20 @@ Working on your first Pull Request? You can learn how from this free series
12
12
3 . Run ` npm install ` to install corresponding dependencies
13
13
4 . Create a branch for your PR named like ` pr/your-branch-name ` (you can do this through git CLI with ` git checkout -b pr/your-branch-name ` )
14
14
15
- > Tip: Keep your ` master ` branch pointing at the original repository and make
15
+ > Tip: Keep your ` main ` branch pointing at the original repository and make
16
16
> pull requests from branches on your fork. To do this, run:
17
17
>
18
18
> ```
19
19
> git remote add upstream https://github.com/testing-library/eslint-plugin-testing-library.git
20
20
> git fetch upstream
21
- > git branch --set-upstream-to=upstream/master master
21
+ > git branch --set-upstream-to=upstream/main main
22
22
> ```
23
23
>
24
24
> This will add the original repository as a "remote" called "upstream," Then
25
- > fetch the git information from that remote, then set your local `master `
26
- > branch to use the upstream master branch whenever you run `git pull`. Then you
27
- > can make all of your pull request branches based on this `master ` branch.
28
- > Whenever you want to update your version of `master `, do a regular `git pull`.
25
+ > fetch the git information from that remote, then set your local `main `
26
+ > branch to use the upstream main branch whenever you run `git pull`. Then you
27
+ > can make all of your pull request branches based on this `main ` branch.
28
+ > Whenever you want to update your version of `main `, do a regular `git pull`.
29
29
30
30
## Committing and Pushing changes
31
31
@@ -65,7 +65,7 @@ Additionally, you need to do a couple of extra things:
65
65
66
66
- Import the new rule in `lib/index.ts` and include it
67
67
in `rules` constant (there is a test which will make sure you did
68
- this). Remember to include your rule under corresponding `config` if necessary
68
+ this). Remember to include your rule under corresponding `config` if necessary
69
69
(a snapshot test will check this too, but you can update it just running
70
70
`npm run test:update`).
71
71
- Include your rule in the "Supported Rules" table within the [README.md](./README.md).
0 commit comments