Skip to content

Commit

Permalink
feat: sort resolutions in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Aug 23, 2023
1 parent f30ca63 commit 10d3856
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/eslint-config-basic/index.js
Expand Up @@ -138,6 +138,14 @@ module.exports = {
pathPattern: '^(?:dev|peer|optional|bundled)?[Dd]ependencies$',
order: { type: 'asc' },
},
{
pathPattern: '^resolutions$',
order: { type: 'asc' },
},
{
pathPattern: '^pnpm.overrides$',
order: { type: 'asc' },
},
{
pathPattern: '^exports.*$',
order: [
Expand Down

0 comments on commit 10d3856

Please sign in to comment.