Skip to content

Conversation

@codfish
Copy link
Owner

@codfish codfish commented Sep 20, 2025

Introduces opinionated ESLint rule overrides and adds a comprehensive Vitest-based test suite (unit, integration, and scenario tests) to validate dynamic configuration behavior.

  • Adds Vitest setup and coverage config.
  • Expands ESLint flat config with stricter base and TypeScript-specific rules.
  • Updates React/Next.js rule integration and enhances README guidance.

@codfish codfish requested a review from Copilot September 20, 2025 17:16
@github-actions
Copy link

🚀 PR version published: ``

Copy link
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

Introduces opinionated ESLint rule overrides and adds a comprehensive Vitest-based test suite (unit, integration, and scenario tests) to validate dynamic configuration behavior.

  • Adds Vitest setup and coverage config.
  • Expands ESLint flat config with stricter base and TypeScript-specific rules.
  • Updates React/Next.js rule integration and enhances README guidance.

Reviewed Changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
vitest.config.js Adds Vitest configuration with coverage settings.
index.js Adds opinionated base and TypeScript rule overrides to exported flat config.
rules/react.js Modifies Next.js plugin import pattern and rule spreading.
package.json Adds Vitest scripts and dev dependency; updates peer dependencies.
README.md Updates usage and uninstall guidance; adjusts Prettier config example.
tests/unit/utils.spec.js Adds unit tests for dependency and config detection helpers.
tests/unit/dynamic-detection.spec.js Tests conditional inclusion of framework-specific config blocks.
tests/unit/config-loading.spec.js Validates structural integrity of exported ESLint config.
tests/scenarios/edge-cases.spec.js Scenario tests for varied project dependency setups and parsing edge cases.
tests/integration/rule-application.spec.js Integration tests asserting rule behavior across file types.
tests/integration/eslint-execution.spec.js End-to-end lint execution against temporary project setups.

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions
Copy link

🚀 PR version published: ``

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

🚀 PR version published: ``

@codfish codfish marked this pull request as ready for review September 20, 2025 19:14
@codfish codfish merged commit a01492e into main Sep 20, 2025
4 checks passed
@codfish codfish deleted the tests branch September 20, 2025 19:14
@github-actions
Copy link

🎉 This PR is included in version 12.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants