Skip to content

Commit

Permalink
Upgrade to ESLint v9 (#1419)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefcameron authored Dec 31, 2024
1 parent b006d73 commit 4d8f4b1
Show file tree
Hide file tree
Showing 12 changed files with 1,408 additions and 493 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

128 changes: 0 additions & 128 deletions .eslintrc.js

This file was deleted.

1 change: 0 additions & 1 deletion cypress/e2e/focus-trap-demo.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ describe('<FocusTrap> component', () => {
cy.get('@lastlyFocusedElementBeforeTrapIsActivated')
.then(([lastlyFocusedEl]) => (previousFocusedEl = lastlyFocusedEl))
.tab();
// eslint-disable-next-line cypress/unsafe-to-chain-command -- seems safe enough, and not sure how you would NOT chain this...
cy.focused().should(([nextFocusedEl]) =>
expect(nextFocusedEl).not.equal(previousFocusedEl)
);
Expand Down
Loading

0 comments on commit 4d8f4b1

Please sign in to comment.