Skip to content

Commit

Permalink
feat: make packageJson.peerDependenciesMeta as ascending order (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Dec 11, 2023
1 parent 8011bcc commit 058fbd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -45,10 +45,10 @@
"eslint-plugin-react-refresh": "^0.4.4"
},
"peerDependenciesMeta": {
"eslint-plugin-format": {
"@unocss/eslint-plugin": {
"optional": true
},
"@unocss/eslint-plugin": {
"eslint-plugin-format": {
"optional": true
},
"eslint-plugin-react": {
Expand Down
2 changes: 1 addition & 1 deletion src/configs/sort.ts
Expand Up @@ -70,7 +70,7 @@ export async function sortPackageJson(): Promise<FlatConfigItem[]> {
},
{
order: { type: 'asc' },
pathPattern: '^(?:dev|peer|optional|bundled)?[Dd]ependencies$',
pathPattern: '^(?:dev|peer|optional|bundled)?[Dd]ependencies(Meta)?$',
},
{
order: { type: 'asc' },
Expand Down

0 comments on commit 058fbd9

Please sign in to comment.