Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.

Commit cac39b0

Browse files
Add documentation for the new react/v16 ruleset
1 parent 71119ac commit cac39b0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ See the [tutorial](tutorial) directory for lots of example config files.
5252

5353
#### For [React][react-home]
5454

55+
- @strv/javascript/environments/react/v16
5556
- @strv/javascript/environments/react/v15
5657
- @strv/javascript/environments/react/optional
5758
- @strv/javascript/environments/react/accessibility

environments/react/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ These configuration files are suitable to lint React components.
66

77
## Configurations
88

9+
### @strv/javascript/environments/react/v16
10+
11+
Suitable for React v16. This ruleset builds on the react/v15 ruleset documented below and bumps the React version to 16 in the plugin configuration, causing some rules to recognise React 16-specific programming patterns.
12+
913
### @strv/javascript/environments/react/v15
1014

1115
Suitable for React v15. This ruleset configures ESLint to recognise JSX syntax and enables some rules that make the linting process more natural. Some accesssibility rules are also included to keep users happy even if they are using screen readers, braile devices or just keyboard.

0 commit comments

Comments
 (0)