Skip to content

Commit

Permalink
Merge pull request #296 from conveyal/jsx-label-stopgap
Browse files Browse the repository at this point in the history
Disable nesting checks for jsx-a11y/label-has-for
  • Loading branch information
evansiroky committed Oct 31, 2019
2 parents 16c7713 + bb4fba9 commit d686bbb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@
"import/order": ["warn", {
"newlines-between": "always"
}],
// turn off nesting requirement. See https://github.com/conveyal/mastarm/pull/296
"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 d686bbb

Please sign in to comment.