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

docs: Add a section on migrating from an existing configuration #264

Merged
merged 2 commits into from
May 22, 2024

Conversation

wakamsha
Copy link
Contributor

@wakamsha wakamsha commented May 10, 2024

Summary

Write a section on migration from an existing configuration in README.md.

Others

  • The plugin name for Next.js was incorrect, so it has been fixed.
  • eslint-plugin-jest-dom was missing from the rule sets and dependent packages correspondence table, so I added it.

References

@wakamsha wakamsha added the dependencies Pull requests that update a dependency file label May 10, 2024
@wakamsha wakamsha self-assigned this May 10, 2024
@wakamsha wakamsha marked this pull request as ready for review May 10, 2024 05:05
@@ -57,7 +57,7 @@ We also provide various other rule sets that you can configure to suit your proj
| -----------: | :---------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `essentials` | Contains basic, import, and promise recommended rules | [`eslint`](https://eslint.org/) <br> [`eslint-plugin-promise`](https://github.com/eslint-community/eslint-plugin-promise) <br> [`eslint-plugin-import`](https://github.com/import-js/eslint-plugin-import) |
| `jsdoc` | Contains JSDoc recommended rules | [`eslint-plugin-jsdoc`](https://github.com/gajus/eslint-plugin-jsdoc) |
| `next` | Contains Next.js recommended rules | [`eslint-plugin-next`](https://github.com/vercel/next.js/tree/canary/packages/eslint-plugin-next) |
| `next` | Contains Next.js recommended rules | [`@next/eslint-plugin-next`](https://github.com/vercel/next.js/tree/canary/packages/eslint-plugin-next) |
Copy link
Contributor Author

@wakamsha wakamsha May 10, 2024

Choose a reason for hiding this comment

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

The plugin name for Next.js was incorrect, so it has been fixed.

- eslint-plugin-next
+ @next/eslint-plugin-next

@wakamsha wakamsha marked this pull request as draft May 10, 2024 06:05
| `node` | Contains Node.js recommended rules | [`eslint-plugin-n`](https://github.com/eslint-community/eslint-plugin-n) |
| `react` | Contains React recommended rules | [`eslint-plugin-jsx-a11y`](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) <br> [`eslint-plugin-react-hooks`](https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks) <br> [`eslint-plugin-react`](https://github.com/jsx-eslint/eslint-plugin-react) |
| `storybook` | Contains Storybook recommended rules | [`eslint-plugin-storybook`](https://github.com/storybookjs/eslint-plugin-storybook) |
| `test/react` | Contains Jest and React Testing Library rules | [`eslint-plugin-jest`](https://github.com/jest-community/eslint-plugin-jest) <br> [`eslint-plugin-testing-library`](https://github.com/testing-library/eslint-plugin-testing-library) |
| `test/react` | Contains Jest and React Testing Library rules | [`eslint-plugin-jest`](https://github.com/jest-community/eslint-plugin-jest) <br> [`eslint-plugin-jest-dom`](https://github.com/testing-library/eslint-plugin-jest-dom) <br> [`eslint-plugin-testing-library`](https://github.com/testing-library/eslint-plugin-testing-library) |
Copy link
Contributor Author

Choose a reason for hiding this comment

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

eslint-plugin-jest-dom was missing from the rule sets and dependent packages correspondence table, so I added it.

Copy link
Member

@taigakiyokawa taigakiyokawa left a comment

Choose a reason for hiding this comment

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

LGTM 🙆‍♂️ (for now. This PR looks like a draft so please re-request review to me if you add more changes other than recovering CI failed.)

@wakamsha
Copy link
Contributor Author

@taigakiyokawa
Sorry, I forget to clear the reviewer list.
This is still in Draft, so I'll ask for another review once it's officially open 🙏

@wakamsha wakamsha requested review from taigakiyokawa and removed request for tongari07 and taigakiyokawa May 13, 2024 02:46
@wakamsha wakamsha force-pushed the docs/add-section-on-migrating branch from 2941ddc to 049d80f Compare May 22, 2024 04:32
@wakamsha wakamsha marked this pull request as ready for review May 22, 2024 05:15
@wakamsha wakamsha merged commit eb5806f into main May 22, 2024
3 checks passed
@wakamsha wakamsha deleted the docs/add-section-on-migrating branch May 22, 2024 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants