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: packages/eslint-config-react-app/README.md
+38-2
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,9 @@ Please refer to its documentation:
8
8
9
9
## Usage in Create React App Projects
10
10
11
-
The easiest way to use this configuration is with [Create React App](https://github.com/facebookincubator/create-react-app), which includes it by default. **You don’t need to install it separately in Create React App projects.**
11
+
The easiest way to use this configuration is with [Create React App](https://github.com/facebookincubator/create-react-app), which includes it by default.
12
+
13
+
**You don’t need to install it separately in Create React App projects.**
12
14
13
15
## Usage Outside of Create React App
14
16
@@ -17,7 +19,7 @@ If you want to use this ESLint configuration in a project not built with Create
17
19
First, install this package, ESLint and the necessary plugins.
Then create a file named `.eslintrc` with following contents in the root folder of your project:
@@ -29,3 +31,37 @@ Then create a file named `.eslintrc` with following contents in the root folder
29
31
```
30
32
31
33
That's it! You can override the settings from `eslint-config-react-app` by editing the `.eslintrc` file. Learn more about [configuring ESLint](http://eslint.org/docs/user-guide/configuring) on the ESLint website.
34
+
35
+
## Accessibility Checks
36
+
37
+
The following rules from the [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y) plugin are activated:
However, if you are using [Create React App](https://github.com/facebookincubator/create-react-app) and have not ejected, any additional rules will only be displayed in the [IDE integrations](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#displaying-lint-output-in-the-editor), but not in the browser or the terminal.
0 commit comments