Skip to content

Commit 7b41aeb

Browse files
chore(release): 96.0.0
1 parent 782fca0 commit 7b41aeb

File tree

5 files changed

+97
-88
lines changed

5 files changed

+97
-88
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
This project adheres to [Semantic Versioning](http://semver.org). Except add new
66
rule (it is breaking changed by default).
77

8+
## 96.0.0 - 2019-01-04
9+
10+
- Added: `react/jsx-fragments` rule.
11+
- Changed: settings for `react` version is now `detect`.
12+
- Chore: minimum require `eslint-plugin-markdown` version is now `^1.0.0`.
13+
- Chore: minimum require `eslint-plugin-react` version is now `^7.12.0`.
14+
815
## 95.0.0 - 2018-12-24
916

1017
- Added: `no-useless-catch` rule.

lib/config/react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
settings: {
1818
react: {
1919
pragma: "React",
20-
version: "999.999.999"
20+
version: "detect"
2121
}
2222
},
2323
plugins: ["react", "jsx-a11y"],

lib/config/rules/react.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ module.exports = {
219219
// Enforce position of the first prop in JSX
220220
// Disable in favor `prettier`
221221
"react/jsx-first-prop-new-line": "off",
222+
// Enforce shorthand or standard form for React fragments
223+
"react/jsx-fragments": ["error", "syntax"],
222224
// Enforce event handler naming conventions in JSX
223225
"react/jsx-handler-names": [
224226
"off",

0 commit comments

Comments
 (0)