Skip to content

Commit 33f9e24

Browse files
committed
feat(form-label): stopped requiring both wrapping and for attribute
since there are times when wrapping is appropriate and others where for is appropriate. i disagree with the idea that both should always be required
1 parent f9c41a0 commit 33f9e24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ module.exports = {
88
'react/require-default-props': 'off',
99
'react-hooks/rules-of-hooks': 'error',
1010
'react-hooks/exhaustive-deps': 'warn',
11-
'react/state-in-constructor': ['error', 'never']
11+
'react/state-in-constructor': ['error', 'never'],
12+
'jsx-a11y/label-has-associated-control': ['error', {assert: 'either'}]
1213
},
1314

1415
overrides: [{

0 commit comments

Comments
 (0)