Skip to content

Commit f1eddf4

Browse files
authored
fix: do not sort over lint-staged key (#214)
* fix(index.js): do not sort over lint-staged key * chore(fields.js): update tests
1 parent 78f1110 commit f1eddf4

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ const fields = [
233233
{ key: 'husky', over: overProperty('hooks', sortGitHooks) },
234234
{ key: 'pre-commit' },
235235
{ key: 'commitlint', over: sortObject },
236-
{ key: 'lint-staged', over: sortObject },
236+
{ key: 'lint-staged' },
237237
{ key: 'config', over: sortObject },
238238
{ key: 'nodemonConfig', over: sortObject },
239239
{ key: 'browserify', over: sortObject },

tests/fields.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ for (const field of [
4949
'bin',
5050
'contributes',
5151
'commitlint',
52-
'lint-staged',
5352
'config',
5453
'nodemonConfig',
5554
'browserify',

tests/snapshots/cli.js.snap

-11 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)