jsonresume / jsonresume.org

The mono repo that builds the homepage, utils, ui components, registry and anything else
https://jsonresume.org
66 stars 17 forks source link

Fix/linting #42

Closed levino closed 8 months ago

levino commented 8 months ago

contains #41

I just fixed the linting and applied the rules to the code base. Should not affect features of the apps. No changeset needed.

Summary by CodeRabbit

changeset-bot[bot] commented 8 months ago

⚠️ No Changeset found

Latest commit: 63f010054f9009aec489b480479d619994de6b5a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jsonresume-org-homepage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 30, 2023 11:34am
jsonresume-org-registry ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 30, 2023 11:34am
coderabbitai[bot] commented 8 months ago

[!WARNING]

Rate Limit Exceeded

@levino has exceeded the limit for the number of files or commits that can be reviewed per hour. Please wait 6 minutes and 46 seconds before requesting another review.

How to resolve this issue? After the wait time has elapsed, a review can be triggered using the @coderabbitai review command. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.
How do rate limits work? CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.
Commits Files that changed from the base of the PR and between fc62fc920c6dc1dd866325a5923375414981f9c4 and 63f010054f9009aec489b480479d619994de6b5a.

Walkthrough

The project has undergone a significant overhaul, with changes affecting configuration files, code structure, and dependencies. Notable updates include the introduction of a changeset tool, ESLint configurations tailored for TypeScript and React, and the removal of unused imports across various files. The refactoring suggests a move towards a more streamlined and efficient codebase, with a focus on adhering to best practices in code quality and dependency management.

Changes

File(s) Summary
.changeset/README.md, .changeset/config.json Introduced changeset tool with configuration and documentation.
.npmrc Expanded hoisting patterns with new entries for eslint plugins and next.
apps/registry/.eslintrc.js, packages/eslint-config-custom/..., packages/ui/.eslintrc Added and updated ESLint configurations for React and TypeScript.
apps/registry/pages/_document.js, apps/registry/pages/api/[payload].js, apps/registry/pages/api/formatters/template.js, apps/registry/pages/api/formatters/tex.js, apps/registry/pages/api/interview.js, apps/registry/pages/api/openAIStream.js, apps/registry/pages/debug.js, apps/registry/pages/interview.js, apps/registry/pages/jobs.js, apps/registry/pages/letter.js, apps/registry/pages/suggestions.js, apps/registry/src/ui/Layout.js Refactored import statements, removed unused imports and variables, updated component structures, and improved error handling.
packages/jsonresume-theme-standard/..., packages/ui/Button.tsx, packages/ui/index.tsx Removed unnecessary React imports, updated rendering logic, and refactored components.
packages/jsonresume-theme-standard/src/ui/DateRange.js, packages/jsonresume-theme-standard/src/ui/List.js, packages/jsonresume-theme-standard/src/ui/Resume.js, packages/jsonresume-theme-standard/src/ui/Work.js Made changes to UI components, including removing unused styles and adding keys to list elements.

Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - If you reply to a *review comment* from CodeRabbit, the bot will automatically respond. - To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment - Note: Review comments are made on code diffs or files, not on the PR overview. - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Note: For conversation with the bot, please use the review comments on code diffs or files. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.v2.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json`