Skip to content

Commit

Permalink
Update lib/rules/checked-requires-onchange-or-readonly.js
Browse files Browse the repository at this point in the history
Co-authored-by: Jordan Harband <[email protected]>
  • Loading branch information
jaesoekjjang and ljharb authored Feb 1, 2024
1 parent be3c3c1 commit 9eceb24
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/rules/checked-requires-onchange-or-readonly.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ const docsUrl = require('../util/docsUrl');

const messages = {
missingProperty: 'Checked should be used with either onChange or readOnly.',
exclusiveCheckedAttribute:
'Use either checked or defaultChecked but not both.',
exclusiveCheckedAttribute: 'Use either checked or defaultChecked but not both.',
};

const targetProps = ['checked', 'onChange', 'readOnly', 'defaultChecked'];
Expand Down

0 comments on commit 9eceb24

Please sign in to comment.