Skip to content

Commit

Permalink
Excluded no-unsafe from the recommended for now to avoid breaking c…
Browse files Browse the repository at this point in the history
…hanges
  • Loading branch information
sergei-startsev committed Jun 20, 2018
1 parent e41500a commit 0285eef
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ The rules enabled in this configuration are:
* [react/no-string-refs](docs/rules/no-string-refs.md)
* [react/no-unescaped-entities](docs/rules/no-unescaped-entities.md)
* [react/no-unknown-property](docs/rules/no-unknown-property.md)
* [react/no-unsafe](docs/rules/no-unsafe.md)
* [react/prop-types](docs/rules/prop-types.md)
* [react/react-in-jsx-scope](docs/rules/react-in-jsx-scope.md)
* [react/require-render-return](docs/rules/require-render-return.md)
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ module.exports = {
'react/no-string-refs': 2,
'react/no-unescaped-entities': 2,
'react/no-unknown-property': 2,
'react/no-unsafe': 2,
'react/no-unsafe': 0,
'react/prop-types': 2,
'react/react-in-jsx-scope': 2,
'react/require-render-return': 2
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-unsafe.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = {
docs: {
description: 'Prevent usage of UNSAFE_ methods',
category: 'Best Practices',
recommended: true,
recommended: false,
url: docsUrl('no-unsafe')
},
schema: []
Expand Down

0 comments on commit 0285eef

Please sign in to comment.