Skip to content

Conversation

@GrabowskiM
Copy link
Contributor

🎫 Issue IBX-10066

Description:

For QA:

Documentation:

@GrabowskiM GrabowskiM requested review from a team and Copilot May 26, 2025 10:11
Copy link

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 updates the lint configuration and refines the frontend CI workflow to trigger only on relevant file changes, while also bumping the Node version.

  • Introduces a new eslint.config.mjs that loads the Ibexa ESLint config.
  • Limits CI runs on push and pull requests to JS/TS(X) and SCSS files.
  • Upgrades the CI Node version from 18 to 20.

Reviewed Changes

Copilot reviewed 3 out of 7 changed files in this pull request and generated 4 comments.

File Description
eslint.config.mjs Adds default export that spreads the Ibexa ESLint config
.github/workflows/frontend-ci.yaml Narrows workflow triggers based on file globs and updates Node version
Files not reviewed (4)
  • .eslintrc.json: Language not supported
  • ibexa.tsconfig.json: Language not supported
  • package.json: Language not supported
  • tsconfig.eslint.json: Language not supported

Comment on lines 6 to 13
- "**.[cm]?[jt]sx?"
- "**.scss"
branches:
- main
- '[0-9]+.[0-9]+'
pull_request: ~
pull_request:
paths:
- "**.[cm]?[jt]sx?"
Copy link

Copilot AI May 26, 2025

Choose a reason for hiding this comment

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

The glob pattern is missing a wildcard before the filename; it should be **/*.[cm]?[jt]sx? to match JS/TS(X) files in any directory.

Copilot uses AI. Check for mistakes.
Comment on lines 7 to 14
- "**.scss"
branches:
- main
- '[0-9]+.[0-9]+'
pull_request: ~
pull_request:
paths:
- "**.[cm]?[jt]sx?"
- "**.scss"
Copy link

Copilot AI May 26, 2025

Choose a reason for hiding this comment

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

The glob pattern is missing a wildcard before the filename; it should be **/*.scss to correctly match SCSS files in subdirectories.

Copilot uses AI. Check for mistakes.
pull_request: ~
pull_request:
paths:
- "**.[cm]?[jt]sx?"
Copy link

Copilot AI May 26, 2025

Choose a reason for hiding this comment

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

The glob pattern under pull_request is missing a wildcard before the filename; use **/*.[cm]?[jt]sx? for consistency.

Suggested change
- "**.[cm]?[jt]sx?"
- "**/*.[cm]?[jt]sx?"

Copilot uses AI. Check for mistakes.
Comment on lines 7 to 14
- "**.scss"
branches:
- main
- '[0-9]+.[0-9]+'
pull_request: ~
pull_request:
paths:
- "**.[cm]?[jt]sx?"
- "**.scss"
Copy link

Copilot AI May 26, 2025

Choose a reason for hiding this comment

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

The glob pattern under pull_request is missing a wildcard before the filename; it should be **/*.scss.

Copilot uses AI. Check for mistakes.
@sonarqubecloud
Copy link

@dew326 dew326 merged commit 04e0afe into main May 28, 2025
10 of 13 checks passed
@dew326 dew326 deleted the IBX-10066 branch May 28, 2025 14:07
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