-
-
Notifications
You must be signed in to change notification settings - Fork 0
feat(eslint): enforce explicit return type #247
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
Refactors code for better readability and maintainability by: - Using the `path` module consistently Updates eslint configuration: - Disables explicit return type for tsx files - Enforces explicit return types for functions and methods
|
🦋 Changeset detectedLatest commit: 5ae9f7a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThis pull request introduces several configuration and dependency updates. Two new changeset files have been added for patch and minor updates of the Changes
Sequence Diagram(s)sequenceDiagram
participant Developer
participant ESLint
participant ConfigLoader
Developer->>ESLint: Run lint on codebase
ESLint->>ConfigLoader: Load ESLint configurations (disables & typescript)
ConfigLoader-->>ESLint: Return updated lint rules
ESLint->>Developer: Report lint issues (e.g., explicit return type errors)
sequenceDiagram
participant Developer
participant CommitLint
participant NodePath
Developer->>CommitLint: Submit commit message
CommitLint->>NodePath: Resolve paths using path.dirname & path.resolve
NodePath-->>CommitLint: Return resolved paths
CommitLint->>Developer: Validate commit message format
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
Scope: all 2 workspace projects This error happened while installing a direct dependency of /tmp/eslint/packages/eslint-config Packages found in the workspace: Tip ⚡💬 Agentic Chat (Pro Plan, General Availability)
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (9)
🧰 Additional context used🧬 Code Graph Analysis (1)packages/eslint-config/src/configs/disables.ts (1)
🔇 Additional comments (19)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @mheob/[email protected] ### Minor Changes - [#247](#247) ([@mheob](https://github.com/mheob)): enforce explicit return type ### Patch Changes - [#247](#247) ([@mheob](https://github.com/mheob)): update dependencies ## Summary by CodeRabbit - **New Features** - Updated the ESLint configuration package to version 8.6.0. - Introduced enhancements that improve dependency management and enforce explicit return types for better code quality.
Summary by CodeRabbit
New Features
Chores
Refactor