-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: allow lint-staged to find typescript parser config file #7297
Conversation
* origin/main: (22 commits) refactor: Ensure all setFocus methods return calls to setFocus (#7287) chore: release next fix(card): ensure teardown logic is called when disconnected (#7289) test: stabilize tests using setFocus (#7295) docs: Add implementation example to `skipAnimations` util (#7293) docs: Add implementation example to `visualizeMouseCursor` util (#7292) feat: improve focus behavior in components (#7277) refactor(popover): renames private method (#7286) build(deps): Bump focus-trap from 7.4.3 to 7.5.2 (#7279) chore: release next fix(flow): Call setFocus() on back button click (#7285) chore: release next feat(flow): Adds setFocus method (#7252) chore: release next build(deps): Bump autoprefixer from 10.4.13 to 10.4.14 (#7280) build(deps): Bump eslint and @types/eslint (#7282) fix(list): fix keyboard navigation after a listItem's disabled or closed property changes (#7275) fix(action): correctly focus the button after rendering updates. (#7255) chore: release next fix(tab-title): add full focus outline to closable tab button in high contrast mode (#7272) ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this! 🛠️
@@ -918,7 +918,7 @@ async function getTagAndPage(componentTestSetup: ComponentTestSetup): Promise<Ta | |||
* }); | |||
* | |||
* @param {ComponentTestSetup} componentTestSetup - A component tag, html, or the tag and e2e page for setting up a test. | |||
* @param {DisabledOptions} [options={ focusTarget: "host" }] - Disabled options. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like an autofix, but the file itself looks unrelated to these changes. Let's exclude it from this PR and then do a full lint sweep afterwards.
@@ -1,23 +1,25 @@ | |||
{ | |||
"env": { | |||
module.exports = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was going to originally suggest keeping this as json
if it didn't break anything, but this will align perfectly with the changes we'll need to make for future of configuring ESLint. 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it needs to be a cjs file so I can use __dirname
* origin/main: chore: release next fix(block): loader now appears for all loading cases (#7303) build: update browserslist db (#7301) build(deps): Bump eslint-plugin-jsdoc from 46.2.6 to 46.4.3 (#7306) build(deps): Bump @floating-ui/dom from 1.4.3 to 1.4.4 in /packages/calcite-components (#7305) build(deps): Bump chromatic from 6.19.5 to 6.19.9 (#7308) build(deps): Bump cpy-cli from 4.2.0 to 5.0.0 (#7281) chore: release next feat(text-area): provide additional context for AT users when character limit exceeds (#7299) build(deps): Bump stylelint from 14.16.1 to 15.10.1 (#7296) chore: release next ci: allow lint-staged to find typescript parser config file (#7297) fix(accordion, accordion-item): `icon-position`, `icon-type`, `selection-mode` and `scale` can now be set as props or attributes (#7191) test(stack): stabilize screenshot tests (#7298) build: make sure eslint-plugin-calcite-components is set up correctly (#7294) chore: add translations (#7290) refactor: Ensure all setFocus methods return calls to setFocus (#7287) chore: release next fix(card): ensure teardown logic is called when disconnected (#7289) test: stabilize tests using setFocus (#7295)
Related Issue: N/A
Summary
lint-staged
correctly fails now when there are eslint errors inpackages/calcite-components
.