Skip to content

Commit

Permalink
chore(release): 96.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Jan 4, 2019
1 parent 782fca0 commit 7b41aeb
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 88 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org). Except add new
rule (it is breaking changed by default).

## 96.0.0 - 2019-01-04

- Added: `react/jsx-fragments` rule.
- Changed: settings for `react` version is now `detect`.
- Chore: minimum require `eslint-plugin-markdown` version is now `^1.0.0`.
- Chore: minimum require `eslint-plugin-react` version is now `^7.12.0`.

## 95.0.0 - 2018-12-24

- Added: `no-useless-catch` rule.
Expand Down
2 changes: 1 addition & 1 deletion lib/config/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
settings: {
react: {
pragma: "React",
version: "999.999.999"
version: "detect"
}
},
plugins: ["react", "jsx-a11y"],
Expand Down
2 changes: 2 additions & 0 deletions lib/config/rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ module.exports = {
// Enforce position of the first prop in JSX
// Disable in favor `prettier`
"react/jsx-first-prop-new-line": "off",
// Enforce shorthand or standard form for React fragments
"react/jsx-fragments": ["error", "syntax"],
// Enforce event handler naming conventions in JSX
"react/jsx-handler-names": [
"off",
Expand Down
Loading

0 comments on commit 7b41aeb

Please sign in to comment.