Skip to content
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

Develop #3445

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from
Open

Develop #3445

wants to merge 13 commits into from

Conversation

rokster112
Copy link

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your hard work on this project! There are a few critical issues that need to be addressed before we can approve the pull request. The env configuration in your ESLint file specifies es2024, which is not a valid ECMAScript version and could lead to linting errors. Please update it to a supported version like es2021 or es2022. Additionally, consider updating the actions/setup-node version to v3 for better stability and support. Once these changes are made, your code will be in great shape! Keep up the great work! 😊

✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨

🔄 Fix the issues, commit the changes, and then re-request my review using the Re-request review button in the Reviewers tab.

.eslintrc.cjs Outdated
module.exports = {
env: {
browser: true,
es2024: true,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The env property specifies es2024, which is not a valid ECMAScript version for ESLint. Consider using a supported version like es2021 or es2022.

@@ -11,19 +11,21 @@ jobs:

strategy:
matrix:
node-version: [14.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider updating the actions/setup-node version to v3 for improved features and support. The latest version is generally more stable and includes the latest updates.

Comment on lines +22 to +23
# fix rollup issue
- run: rm -rf node_modules package-lock.json

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The step to remove node_modules and package-lock.json is a workaround for a Rollup issue. Ensure this is necessary for your project, as it can increase build times and may not be needed if the underlying issue is resolved.

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job on your project! 🎉 Your ESLint configuration, Cypress setup, and component implementation are well-structured and meet the task requirements. However, there are a couple of issues to address:

  1. GitHub Actions Workflow: Please update the actions/setup-node version from v1 to v3 in both test.yml and lint.yml files for better stability and support.

  2. ESLint Configuration: You've successfully corrected the env configuration to es2022, resolving the previous issue.

Your code is on the right track, and the decision to approve is to help you move forward with your learning. Please review the comments to improve your code further. Addressing these issues will enhance your project's functionality and maintainability. Keep up the great work and continue learning from these experiences! 🚀

✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨

@@ -11,19 +11,21 @@ jobs:

strategy:
matrix:
node-version: [14.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider updating actions/setup-node@v1 to actions/setup-node@v3 for improved stability and support.

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.

4 participants