Skip to content

Commit 012cde0

Browse files
Update lib/rules/hook-use-state.js
Co-authored-by: Jordan Harband <ljharb@gmail.com>
1 parent be9d311 commit 012cde0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/rules/hook-use-state.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ module.exports = {
2626
url: docsUrl('hook-use-state'),
2727
},
2828
fixable: 'code',
29-
messages: {
30-
[USE_STATE_ERROR_MESSAGE]: 'useState call is not destructured into value + setter pair',
31-
},
29+
messages,
3230
schema: [],
3331
},
3432

0 commit comments

Comments
 (0)