eslint-config-seekingalpha-react 5.17.0 → 5.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Change Log
2
2
 
3
+ ## 5.20.0 - 2021-06-06
4
+ - [deps] upgrade `eslint` to version `8.17.0`
5
+
6
+ ## 5.19.0 - 2021-05-22
7
+ - [deps] upgrade `eslint` to version `8.16.0`
8
+
9
+ ## 5.18.0 - 2021-05-19
10
+ - [deps] upgrade `eslint-plugin-react` to version `7.30.0`
11
+ - [breaking] enable `react/jsx-no-leaked-render` rule
12
+
3
13
  ## 5.17.0 - 2021-05-08
4
14
  - [deps] upgrade `eslint` to version `8.15.0`
5
15
 
package/README.md CHANGED
@@ -6,7 +6,7 @@ This package includes the shareable ESLint config used by [SeekingAlpha](https:/
6
6
 
7
7
  Install ESLint and all [Peer Dependencies](https://nodejs.org/en/blog/npm/peer-dependencies/):
8
8
 
9
- npm install eslint@8.15.0 eslint-plugin-flowtype@8.0.3 eslint-plugin-jsx-a11y@6.5.1 eslint-plugin-react@7.29.4 eslint-plugin-react-hooks@4.5.0 --save-dev
9
+ npm install eslint@8.17.0 eslint-plugin-flowtype@8.0.3 eslint-plugin-jsx-a11y@6.5.1 eslint-plugin-react@7.30.0 eslint-plugin-react-hooks@4.5.0 --save-dev
10
10
 
11
11
  Install SeekingAlpha shareable ESLint:
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-seekingalpha-react",
3
- "version": "5.17.0",
3
+ "version": "5.20.0",
4
4
  "description": "SeekingAlpha's sharable React.js ESLint config",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -49,18 +49,18 @@
49
49
  "node": ">= 16"
50
50
  },
51
51
  "peerDependencies": {
52
- "eslint": "8.15.0",
52
+ "eslint": "8.17.0",
53
53
  "eslint-plugin-flowtype": "8.0.3",
54
54
  "eslint-plugin-jsx-a11y": "6.5.1",
55
- "eslint-plugin-react": "7.29.4",
55
+ "eslint-plugin-react": "7.30.0",
56
56
  "eslint-plugin-react-hooks": "4.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "eslint": "8.15.0",
59
+ "eslint": "8.17.0",
60
60
  "eslint-find-rules": "4.1.0",
61
61
  "eslint-plugin-flowtype": "8.0.3",
62
62
  "eslint-plugin-jsx-a11y": "6.5.1",
63
- "eslint-plugin-react": "7.29.4",
63
+ "eslint-plugin-react": "7.30.0",
64
64
  "eslint-plugin-react-hooks": "4.5.0"
65
65
  }
66
66
  }
@@ -137,6 +137,9 @@ module.exports = {
137
137
  },
138
138
  ],
139
139
 
140
+ // https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-no-leaked-render.md
141
+ 'react/jsx-no-leaked-render': 'error',
142
+
140
143
  // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-literals.md
141
144
  'react/jsx-no-literals': [
142
145
  'off',