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

feat: unsync-similar-dependencies rule #105

Merged
merged 9 commits into from
Jan 25, 2025
Prev Previous commit
Next Next commit
chore: list detected similar deps
  • Loading branch information
QuiiBz committed Jan 25, 2025
commit f958c712ce611bcadda1f7b7acd30a96562e50da
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,17 @@ sherif -i react -i next

Similar dependencies in a given `package.json` should use the same version. For example, if you use both `react` and `react-dom` dependencies in the same `package.json`, this rule will enforce that they use the same version.

<details>

<summary>List of detected similar dependencies</summary>

- `react`, `react-dom`
- `next`, `@next/eslint-plugin-next`, `eslint-config-next`, `@next/bundle-analyzer`, `@next/third-parties`, `@next/mdx`
- `turbo`, `turbo-ignore`, `eslint-config-turbo`, `eslint-plugin-turbo`, `@turbo/gen`, `@turbo/workspaces`
- `@tanstack/eslint-plugin-query`, `@tanstack/query-async-storage-persister`, `@tanstack/query-broadcast-client-experimental`, `@tanstack/query-core`, `@tanstack/query-devtools`, `@tanstack/query-persist-client-core`, `@tanstack/query-sync-storage-persister`, `@tanstack/react-query`, `@tanstack/react-query-devtools`, `@tanstack/react-query-persist-client`, `@tanstack/react-query-next-experimental`, `@tanstack/solid-query`, `@tanstack/solid-query-devtools`, `@tanstack/solid-query-persist-client`, `@tanstack/svelte-query`, `@tanstack/svelte-query-devtools`, `@tanstack/svelte-query-persist-client`, `@tanstack/vue-query`, `@tanstack/vue-query-devtools`, `@tanstack/angular-query-devtools-experimental`, `@tanstack/angular-query-experimental`

</details>

#### `non-existant-packages` ⚠️

All paths defined in the workspace (the root `package.json`' `workspaces` field or `pnpm-workspace.yaml`) should match at least one package.
Expand Down