Skip to content

fix(eslint): flatten oxlint config to resolve CI lint failure#8

Merged
maruf-pfc merged 2 commits intoblackstart-labs:mainfrom
maruf-pfc:main
Mar 31, 2026
Merged

fix(eslint): flatten oxlint config to resolve CI lint failure#8
maruf-pfc merged 2 commits intoblackstart-labs:mainfrom
maruf-pfc:main

Conversation

@maruf-pfc
Copy link
Copy Markdown
Contributor

Proposed Changes

  • Fix ESLint flat config structure
  • Resolve CI lint failure caused by nested config array
  • Improve compatibility with oxlint + Vue config

Description

This PR fixes an ESLint configuration issue that caused CI linting to fail with the error:

TypeError: Unexpected array

The issue occurred because pluginOxlint.configs['flat/recommended'] was added as a nested array instead of being spread into the root config.

By spreading the config (...pluginOxlint.configs['flat/recommended']), the flat config structure is corrected and ESLint runs successfully.


Related Issues

Resolves # (add issue number if applicable)


Checklist

  • I have followed the [Contributing Guidelines](CONTRIBUTING.md).
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • My changes generate no new linting errors.
  • I have added tests that prove my fix is effective or that my feature works. (not required for config fix)
  • New and existing unit tests pass locally with my changes.
  • I have updated the documentation accordingly. (if needed)

…ests

- improve useIssues and issues store logic
- refine rate limit composable with tests
- update date utilities
- add unit tests for IssueCard and rate limit
- update project configs and README
- add GitHub labeler workflow
@maruf-pfc maruf-pfc self-assigned this Mar 31, 2026
@maruf-pfc maruf-pfc merged commit 7d27f92 into blackstart-labs:main Mar 31, 2026
1 check passed
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.

1 participant