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

Commit

Permalink
Add documentation for the new react/v16 ruleset
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrossmann committed Oct 17, 2017
1 parent 71119ac commit cac39b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ See the [tutorial](tutorial) directory for lots of example config files.

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

- @strv/javascript/environments/react/v16
- @strv/javascript/environments/react/v15
- @strv/javascript/environments/react/optional
- @strv/javascript/environments/react/accessibility
Expand Down
4 changes: 4 additions & 0 deletions environments/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ These configuration files are suitable to lint React components.

## Configurations

### @strv/javascript/environments/react/v16

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.

### @strv/javascript/environments/react/v15

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.
Expand Down

0 comments on commit cac39b0

Please sign in to comment.