-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add some opinionated overrides; add tests #126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
🚀 PR version published: `` |
There was a problem hiding this 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.
|
🚀 PR version published: `` |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
🚀 PR version published: `` |
|
🎉 This PR is included in version 12.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Introduces opinionated ESLint rule overrides and adds a comprehensive Vitest-based test suite (unit, integration, and scenario tests) to validate dynamic configuration behavior.