Skip to content

Commit 9eceb24

Browse files
jaesoekjjangljharb
andauthored
Update lib/rules/checked-requires-onchange-or-readonly.js
Co-authored-by: Jordan Harband <[email protected]>
1 parent be3c3c1 commit 9eceb24

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/rules/checked-requires-onchange-or-readonly.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ const docsUrl = require('../util/docsUrl');
1212

1313
const messages = {
1414
missingProperty: 'Checked should be used with either onChange or readOnly.',
15-
exclusiveCheckedAttribute:
16-
'Use either checked or defaultChecked but not both.',
15+
exclusiveCheckedAttribute: 'Use either checked or defaultChecked but not both.',
1716
};
1817

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

0 commit comments

Comments
 (0)