You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,9 @@ ESLint configuration for React Native projects written in TypeScript.
8
8
- Leaves formatting to Prettier with [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier).
9
9
- Checks for cyclic imports/exports with [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import).
10
10
- Enforces consistent import order with [eslint-plugin-import-order-alphabetical](https://github.com/janpaul123/eslint-plugin-import-order-alphabetical).
11
-
- Ensures accessible applications with [eslint-plugin-react-native-a11y](https://github.com/FormidableLabs/eslint-plugin-react-native-a11y)
11
+
- Ensures accessible applications with [eslint-plugin-react-native-a11y](https://github.com/FormidableLabs/eslint-plugin-react-native-a11y).
12
12
13
-
## Installation
13
+
## 🔩 Installation
14
14
15
15
```sh
16
16
yarn add eslint-config-react-native-typescript
@@ -20,35 +20,35 @@ Extend the config in your `.eslintrc` file.
20
20
21
21
```json
22
22
{
23
-
"extends": ["react-native-typescript"]
23
+
"extends": "react-native-typescript"
24
24
}
25
25
```
26
26
27
-
## Configuration
27
+
## 🧙 Configuration
28
28
29
29
Simply override any rule by assigning new settings below the extends section in your `.eslintrc` file.
30
30
31
31
```json
32
32
{
33
-
"extends": ["react-native-typescript"],
33
+
"extends": "react-native-typescript",
34
34
"rules": {
35
35
"no-console": 2
36
36
}
37
37
}
38
38
```
39
39
40
-
## Dependencies
40
+
## 🧶 Dependencies
41
41
42
42
Your project needs ESLint and TypeScript installed for this config to work correctly.
43
43
44
44
```sh
45
45
yarn add typescript eslint
46
46
```
47
47
48
-
## Changelog
48
+
## 📝 Changelog
49
49
50
50
Changes between versions are documented [here](./CHANGELOG.md).
0 commit comments