Skip to content

Fix unused import linter error in extract-rule-names test - #828

Merged
Mike Harder (mikeharder) merged 2 commits into
akhilailla/test_testfrom
copilot/sub-pr-823
Feb 23, 2026
Merged

Fix unused import linter error in extract-rule-names test#828
Mike Harder (mikeharder) merged 2 commits into
akhilailla/test_testfrom
copilot/sub-pr-823

Conversation

Copilot AI commented Feb 21, 2026

Copy link
Copy Markdown
Contributor

ESLint was failing with @typescript-eslint/no-unused-vars due to hasLabel being imported but never used in the test file.

Change

  • Removed unused hasLabel import from extract-rule-names.test.js

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com>
Copilot AI changed the title [WIP] Update staging-lint check workflow to block PR merge upon failure Fix unused import linter error in extract-rule-names test Feb 21, 2026
@mikeharder
Mike Harder (mikeharder) marked this pull request as ready for review February 23, 2026 19:38
@mikeharder
Mike Harder (mikeharder) merged commit 1606961 into akhilailla/test_test Feb 23, 2026
6 checks passed
@mikeharder
Mike Harder (mikeharder) deleted the copilot/sub-pr-823 branch February 23, 2026 19:38
AkhillaIlla (AkhilaIlla) added a commit that referenced this pull request Mar 9, 2026
* Log the error for autorest failures

* Fix sparse checkout error

* Update staging-lint-check workflow to block PR merge upomn failure

* Fix unused import linter error in extract-rule-names test (#828)

* Initial plan

* Remove unused hasLabel import to fix linter error

Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com>

* Add pull-requests: read permission to staging-lint-checks workflow (#829)

* Initial plan

* Add pull-requests: read permission to staging-lint-checks workflow

Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com>

* Fix Prettier formatting in staging lint check workflow files (#830)

* Initial plan

* Fix prettier formatting in README and test file

Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Minor updates

* Update inline docs to be in sync with the method ddoc

---------

Co-authored-by: akhilailla <akhilailla@microsoft.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com>
Co-authored-by: Mike Harder <mharder@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants