-
Notifications
You must be signed in to change notification settings - Fork 89
Dependencies update + ESLint v9 #1064
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
Dependencies update + ESLint v9 #1064
Conversation
- Update configuration documentation to reference v1.8.15 - Update resolveNodeBreadthLimit default value from 100 to 10 - Update dependencies to latest versions
- Update all dependencies to latest versions - Migrate from .eslintrc.json to eslint.config.js for ESLint v9 compatibility - Add globals dependency for proper ESLint configuration - Fix CI lint step failures This addresses reviewer feedback about ESLint v9 migration requirements.
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThe changes replace the existing Changes
Sequence Diagram(s)sequenceDiagram
participant Developer
participant ESLint
participant eslint.config.js
Developer->>ESLint: Run lint command
ESLint->>eslint.config.js: Load configuration
eslint.config.js-->>ESLint: Provide scoped and merged rules
ESLint->>Developer: Report lint results based on new config
✨ Finishing touches🧪 Generate unit tests (beta)
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. Comment |
This branch should only contain dependency updates and ESLint changes, not documentation changes.
|
The type check here is no longer passing |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
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.
Actionable comments posted: 2
🧹 Nitpick comments (1)
eslint.config.js (1)
67-134: Consider using eslint-config-prettier instead of manually disabling rules.The extensive manual disabling of Prettier-conflicting rules could be simplified by using the
eslint-config-prettierpackage, which is already in your dependencies.- { - rules: { - // Prettier config to disable conflicting rules - 'array-bracket-newline': 'off', - 'array-bracket-spacing': 'off', - // ... (many more rules) - } - } + require('eslint-config-prettier')This would make the configuration more maintainable and ensure all Prettier conflicts are properly handled.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (3)
.eslintrc.json(0 hunks)eslint.config.js(1 hunks)package.json(2 hunks)
💤 Files with no reviewable changes (1)
- .eslintrc.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: deploy-preview
- GitHub Check: Test deployment
🔇 Additional comments (3)
package.json (2)
28-31: LGTM: Dependency updates look reasonable.The Docusaurus, TypeScript ESLint, and other dependency updates appear to be standard patch/minor version updates that should maintain compatibility.
Also applies to: 47-47, 53-57
34-34: No breaking changes in @openfga/sdk v0.9.0The official changelog for v0.9.0 only adds a new “client assertion for client credentials authentication” feature (#228) and does not list any BREAKING CHANGES. The last breaking changes occurred in v0.8.0. You can safely keep the
"@openfga/sdk": "^0.9.0"update.✅ OpenFGA SDK update approved.
eslint.config.js (1)
1-6: LGTM: Import structure follows ESLint v9 flat config pattern.The imports are correctly structured for the new ESLint v9 flat configuration format.
|
@rhamzeh, it's working now. One lint check is failing, which is similar to #1063 (comment) |
|
@Siddhant-K-code would you mind running npm i to resolve the issues? We can merge then |
|
@rhamzeh, sorry i've missed the notification. We are good to go now |
Summary by CodeRabbit