Skip to content

fix(ci): align ESLint workflow with repo CI conventions#47

Merged
JosunLP merged 2 commits intoJosunLP-patch-1from
copilot/sub-pr-45
Mar 12, 2026
Merged

fix(ci): align ESLint workflow with repo CI conventions#47
JosunLP merged 2 commits intoJosunLP-patch-1from
copilot/sub-pr-45

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 12, 2026

The ESLint workflow deviated from repo CI standards: it installed Bun via npm, ran a non-frozen dependency install, and added @microsoft/eslint-formatter-sarif as an ad-hoc runtime package. It also passed the deprecated --ext flag incompatible with ESLint v9 flat config.

Changes

  • Bun setup: Replace npm install bun -g + bun i with oven-sh/setup-bun@v2 (bun-version: 1.3.7) + bun install --frozen-lockfile, matching test.yml and npm-publish.yml
  • SARIF formatter: Move @microsoft/eslint-formatter-sarif@^3.1.0 from ad-hoc bun install during CI into devDependencies in package.json and bun.lock; installed reproducibly via the frozen lockfile step
  • ESLint invocation: Drop --ext .js,.jsx,.ts,.tsx — deprecated in ESLint v9 flat config; file globs are already defined in eslint.config.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.

…devDependencies, remove deprecated --ext flag

Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Copilot AI changed the title [WIP] Improve documentation and workflow automation in bQuery.js fix(ci): align ESLint workflow with repo CI conventions Mar 12, 2026
@JosunLP JosunLP marked this pull request as ready for review March 12, 2026 15:01
Copilot AI review requested due to automatic review settings March 12, 2026 15:01
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the ESLint CI workflow to align with the repository's established CI conventions (matching test.yml and npm-publish.yml). It replaces ad-hoc Bun installation via npm with the standard oven-sh/setup-bun@v2 action, uses a frozen lockfile install, and removes the deprecated --ext ESLint flag.

Changes:

  • Replace npm install bun -g / bun i with oven-sh/setup-bun@v2 (bun-version 1.3.7) + bun install --frozen-lockfile
  • Move @microsoft/eslint-formatter-sarif from ad-hoc CI install into devDependencies (package.json + bun.lock)
  • Drop deprecated --ext .js,.jsx,.ts,.tsx flag incompatible with ESLint v9 flat config

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/eslint.yml Align Bun setup, dependency install, and ESLint invocation with repo CI conventions
package.json Add @microsoft/eslint-formatter-sarif to devDependencies
bun.lock Lock the newly added dev dependency

@JosunLP JosunLP merged commit 5e6f1d0 into JosunLP-patch-1 Mar 12, 2026
4 checks passed
@JosunLP JosunLP deleted the copilot/sub-pr-45 branch March 12, 2026 15:08
JosunLP added a commit that referenced this pull request Mar 12, 2026
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Jonas Pfalzgraf <info@josunlp.de>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Fix PR review issues: duplicate keys, cleanup leaks, export conflicts, and SSR safety (#17)
Fix security, type safety, and API surface issues from PR #16 review (#18)
Fix router cancellation, component example, and ref directive expression handling (#19)
Fix router compatibility, isDev default, style cleanup, and changelog format (#20)
Fix hash routing bugs and add comprehensive test coverage (#21)
Fix router base path handling, bq-if DOM stability, and CHANGELOG consistency (#22)
Fix defineComponent tests, store reactivity leak, view directive signal handling, and hash-routing interception (#24)
Fix async handling, type safety, environment guards, and add test coverage from PR #16 review (#25)
Fix DOM order reversal, stale dependency tracking, localStorage SafariError, and reactive bq-for updates (#26)
Fix view template root validation, store optimizations, and utils API cleanup (#27)
Fix bq-show display restoration and timeline.seek() time calculation (#28)
Fix router base path duplication and add SSR guards for Element checks (#29)
Fix interceptLinks() browser behavior and createTemplate() validation (#30)
Fix bq-class bracket detection, once() failure caching, mount bq-for validation, and component pre-mount renders (#31)
Fix bq-style whitespace handling and spring variable frame rate (#32)
Fix bq-on method reference context loss and remove style attribute from security defaults (#33)
Fix persistedSignal localStorage test key collision (#34)
Fix bq-class directive stale class cleanup for object syntax (#35)
Fix timeline() to account for animation iterations in duration calculations (#36)
fix: Reactive robustness, security hardening, storage compat, expression parsing (#37)
Fix css() getter, add Signal.dispose(), debounce/throttle cancel, collection.find(), element.is() (#39)
fix(ci): align ESLint workflow with repo CI conventions (#47)
fix: repair corrupted bun.lock breaking CI frozen-lockfile installs (#48)
Fix ESLint workflow failure caused by SARIF formatter runtime mismatch (#50)
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.

3 participants