File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 "globals" : {
99 "TabContainerElement" : " readable"
1010 },
11+ "rules" : {
12+ "@typescript-eslint/no-non-null-assertion" : " off"
13+ },
1114 "overrides" : [
1215 {
1316 "files" : [" test/**/*.js" , " prettier.config.js" ],
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ export default class TabContainerElement extends HTMLElement {
77 if ( ! ( target instanceof HTMLElement ) ) return
88 if ( target . getAttribute ( 'role' ) !== 'tab' && ! target . closest ( '[role="tablist"]' ) ) return
99 const tabs = Array . from ( this . querySelectorAll ( '[role="tablist"] [role="tab"]' ) )
10- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1110 const currentIndex = tabs . indexOf ( tabs . find ( tab => tab . matches ( '[aria-selected="true"]' ) ) ! )
1211
1312 if ( event . code === 'ArrowRight' ) {
You can’t perform that action at this time.
0 commit comments