Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sxzz/eslint-config
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.0.1
Choose a base ref
...
head repository: sxzz/eslint-config
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.0.2
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Mar 10, 2025

  1. fix: sort more fields in package.json

    sxzz committed Mar 10, 2025
    Copy the full SHA
    84e423c View commit details
  2. chore: release v6.0.2

    sxzz committed Mar 10, 2025
    Copy the full SHA
    fd3eff3 View commit details
Showing with 5 additions and 3 deletions.
  1. +1 −1 package.json
  2. +4 −2 src/configs/sort.ts
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sxzz/eslint-config",
"version": "6.0.1",
"version": "6.0.2",
"packageManager": "pnpm@10.6.1",
"description": "ESLint config for @sxzz.",
"type": "module",
6 changes: 4 additions & 2 deletions src/configs/sort.ts
Original file line number Diff line number Diff line change
@@ -54,9 +54,11 @@ export const sortPackageJson = (): Config[] => [
'devDependencies',
'engines',
'config',
'overrides',
'pnpm',
'overrides',
'resolutions',
'husky',
'simple-git-hooks',
'lint-staged',
'eslintConfig',
'prettier',
@@ -73,7 +75,7 @@ export const sortPackageJson = (): Config[] => [
},
{
order: { type: 'asc' },
pathPattern: '^(?:resolutions|overrides|pnpm.overrides)$',
pathPattern: String.raw`^(?:resolutions|overrides|pnpm\.overrides)$`,
},
],
},