Skip to content

Commit

Permalink
Update lib/rules/hook-use-state.js
Browse files Browse the repository at this point in the history
Co-authored-by: Jordan Harband <ljharb@gmail.com>
  • Loading branch information
duncanbeevers and ljharb committed Nov 25, 2021
1 parent be9d311 commit 012cde0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/rules/hook-use-state.js
Expand Up @@ -26,9 +26,7 @@ module.exports = {
url: docsUrl('hook-use-state'),
},
fixable: 'code',
messages: {
[USE_STATE_ERROR_MESSAGE]: 'useState call is not destructured into value + setter pair',
},
messages,
schema: [],
},

Expand Down

0 comments on commit 012cde0

Please sign in to comment.