Skip to content

Commit

Permalink
fix(lint): disable nesting checks for jsx-a11y/label-has-for
Browse files Browse the repository at this point in the history
  • Loading branch information
evansiroky committed Oct 28, 2019
1 parent 16c7713 commit 97903da
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@
"import/order": ["warn", {
"newlines-between": "always"
}],
"jsx-a11y/label-has-for": [
2,
{
"components": [ "Label" ],
"required": {
"every": [ "id" ]
},
"allowChildren": false
}
],
"object-curly-spacing": 0,
"prefer-const": ["warn", {
"destructuring": "all",
Expand Down

0 comments on commit 97903da

Please sign in to comment.