Skip to content

Commit

Permalink
Merge branch 'master' into greenkeeper/babel-preset-airbnb-5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebeach committed Jun 11, 2020
2 parents 71940e6 + 081339d commit 5a6fe4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions __tests__/src/rules/label-has-associated-control-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const htmlForValid = [
{ code: '<label htmlFor="js_id"><span><span><span>A label</span></span></span></label>', options: [{ depth: 4 }] },
{ code: '<label htmlFor="js_id" aria-label="A label" />' },
{ code: '<label htmlFor="js_id" aria-labelledby="A label" />' },
{ code: '<div><label htmlFor="js_id">A label</label><input id="js_id" /></div>' },
// Custom label component.
{ code: '<CustomLabel htmlFor="js_id" aria-label="A label" />', options: [{ labelComponents: ['CustomLabel'] }] },
{ code: '<CustomLabel htmlFor="js_id" label="A label" />', options: [{ labelAttributes: ['label'], labelComponents: ['CustomLabel'] }] },
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"coveralls": "^3.0.1",
"eslint": "^3 || ^4 || ^5 || ^6",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-flowtype": "^4.5.2",
"eslint-plugin-flowtype": "^5.0.0",
"eslint-plugin-import": "^2.18.0",
"estraverse": "^4.2.0",
"expect": "^24.3.1",
Expand Down

0 comments on commit 5a6fe4c

Please sign in to comment.