Skip to content

Conversation

@bennypowers
Copy link
Member

@bennypowers bennypowers commented Apr 8, 2024

What I did

  1. export eslint flat config from eslint packages
  2. update repo to use flat config

Testing Instructions

  1. npm run lint

Notes to Reviewers

I recommend using the "hide whitespace" option in the github diff view

@changeset-bot
Copy link

changeset-bot bot commented Apr 8, 2024

🦋 Changeset detected

Latest commit: 1e43b7d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@patternfly/eslint-config-elements Major
@patternfly/eslint-plugin-elements Major
@patternfly/pfe-tools Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added work in progress POC / Not ready for review tools Development and build tools AT passed Automated testing has passed labels Apr 8, 2024
@netlify
Copy link

netlify bot commented Apr 8, 2024

Deploy Preview for patternfly-elements ready!

Name Link
🔨 Latest commit a33c231
😎 Deploy Preview https://deploy-preview-2742--patternfly-elements.netlify.app/

To edit notification comments on pull requests, go to your Netlify site settings.

@bennypowers bennypowers force-pushed the feat/tools/eslint-flat-config branch from a3526f4 to 2b18f99 Compare April 9, 2024 15:09
@github-actions github-actions bot added doc functionality Functionality, typically pertaining to the JavaScript. generator Updates relating to the generator tests Related to testing labels Apr 9, 2024
assertion labels go in the expect call, not in the getComputedStyle call
tab to chip group instead of calling focus on it
this may indicate breakage in delegatesFocus
});

describe('keyboard navigating with arrow keys to third chip and pressing enter', function() {
beforeEach(() => element.focus());
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nikkimk this was the only change I was able to ID that might have practical significance. tests fail on this branch with .focus on the chip group, and in my investigation, i found that this assertion failed because the activeElement remained <body> the whole time.

this fix, using playwright to simulate a Tab key press, rather than calling .focus() fixes the test.

I suspect, but can't yet confirm, that this is because of a bump in playwright version in this PR.

In any event, please confirm that this change doesn't represent breakage for users.

@bennypowers bennypowers marked this pull request as ready for review April 10, 2024 02:55
@bennypowers bennypowers enabled auto-merge (squash) April 10, 2024 03:06
@github-actions github-actions bot added the demo Updating demo pages label Apr 11, 2024
@bennypowers bennypowers disabled auto-merge April 11, 2024 05:08
@bennypowers bennypowers merged commit 65079fb into main Apr 11, 2024
@bennypowers bennypowers deleted the feat/tools/eslint-flat-config branch April 11, 2024 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AT passed Automated testing has passed demo Updating demo pages doc functionality Functionality, typically pertaining to the JavaScript. generator Updates relating to the generator tests Related to testing tools Development and build tools work in progress POC / Not ready for review

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants