linter-bundle 2.8.2 → 2.8.3
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 +7 -1
- package/eslint/overrides-react.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
-
[Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v2.8.
|
|
9
|
+
[Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v2.8.3...HEAD)
|
|
10
|
+
|
|
11
|
+
## [2.8.3] - 2022.02.19
|
|
12
|
+
|
|
13
|
+
- [eslint/overrides-react] Disable [`react/no-unused-class-component-methods`](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-unused-class-component-methods.md) rule, because of false positives with public methods.
|
|
14
|
+
|
|
15
|
+
[Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v2.8.2...v2.8.3)
|
|
10
16
|
|
|
11
17
|
## [2.8.2] - 2022.02.19
|
|
12
18
|
|
|
@@ -91,7 +91,7 @@ module.exports = {
|
|
|
91
91
|
'react/no-unknown-property': 'error',
|
|
92
92
|
'react/no-unsafe': 'error',
|
|
93
93
|
'react/no-unstable-nested-components': 'error',
|
|
94
|
-
'react/no-unused-class-component-methods': '
|
|
94
|
+
'react/no-unused-class-component-methods': 'off', // @todo False-positives with public methods.
|
|
95
95
|
'react/no-unused-prop-types': 'error',
|
|
96
96
|
'react/no-unused-state': 'error',
|
|
97
97
|
'react/no-will-update-set-state': 'error',
|