Skip to content

Commit 6d2b142

Browse files
committed
feat: sort resolutions in package.json
1 parent 35d3741 commit 6d2b142

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/eslint-config-basic/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,14 @@ module.exports = {
126126
pathPattern: '^(?:dev|peer|optional|bundled)?[Dd]ependencies$',
127127
order: { type: 'asc' },
128128
},
129+
{
130+
pathPattern: '^resolutions$',
131+
order: { type: 'asc' },
132+
},
133+
{
134+
pathPattern: '^pnpm.overrides$',
135+
order: { type: 'asc' },
136+
},
129137
{
130138
pathPattern: '^exports.*$',
131139
order: ['types', 'import', 'require', 'default'],

0 commit comments

Comments
 (0)