Skip to content

Commit 0285eef

Browse files
Excluded no-unsafe from the recommended for now to avoid breaking changes
1 parent e41500a commit 0285eef

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ The rules enabled in this configuration are:
209209
* [react/no-string-refs](docs/rules/no-string-refs.md)
210210
* [react/no-unescaped-entities](docs/rules/no-unescaped-entities.md)
211211
* [react/no-unknown-property](docs/rules/no-unknown-property.md)
212-
* [react/no-unsafe](docs/rules/no-unsafe.md)
213212
* [react/prop-types](docs/rules/prop-types.md)
214213
* [react/react-in-jsx-scope](docs/rules/react-in-jsx-scope.md)
215214
* [react/require-render-return](docs/rules/require-render-return.md)

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ module.exports = {
140140
'react/no-string-refs': 2,
141141
'react/no-unescaped-entities': 2,
142142
'react/no-unknown-property': 2,
143-
'react/no-unsafe': 2,
143+
'react/no-unsafe': 0,
144144
'react/prop-types': 2,
145145
'react/react-in-jsx-scope': 2,
146146
'react/require-render-return': 2

lib/rules/no-unsafe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = {
1919
docs: {
2020
description: 'Prevent usage of UNSAFE_ methods',
2121
category: 'Best Practices',
22-
recommended: true,
22+
recommended: false,
2323
url: docsUrl('no-unsafe')
2424
},
2525
schema: []

0 commit comments

Comments
 (0)