Skip to content

Commit c4ac0f9

Browse files
committed
style(CONTRIBUTING): fix lint errors
1 parent c9211a9 commit c4ac0f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ Working on your first Pull Request? You can learn how from this _free_ series, [
6666
- This includes matching up with the same method names, types, usages, inputs and outputs.
6767
- In some instances this is not always possible.
6868
- Methods/Features that are specific to a single platform only should be documented as such and the types description `@platform` annotated;
69+
6970
```ts
7071
export SomeInterface {
7172
/**
@@ -76,6 +77,7 @@ Working on your first Pull Request? You can learn how from this _free_ series, [
7677
aCoolMethod(): Promise<null>;
7778
}
7879
```
80+
7981
- If a method works on both platforms then there's no need to annotate it
8082
- Name your native code methods the same as the JS method name
8183
- e.g. the Android (`@ReactMethod`) implementation of `signInWithEmailAndPassword()` is named `signInWithEmailAndPassword`
@@ -141,7 +143,7 @@ To run end-to-end tests for `Other`, please run:
141143
- `yarn tests:emulator:start` - runs Firestore emulator for Firestore tests.
142144
- `yarn tests:macos:test-cover` - runs tests using Detox library. Tests for each package can be found in the `e2e` directory (i.e. `[PACKAGE]/e2e/*.e2e.js`)
143145

144-
See its local testing guide [here](https://github.com/invertase/react-native-firebase/blob/main/tests/README.md) to get started
146+
See [the local testing guide](https://github.com/invertase/react-native-firebase/blob/main/tests/README.md) to get started
145147
with `e2e` testing this project.
146148

147149
---

0 commit comments

Comments
 (0)