Skip to content

Commit c350a0e

Browse files
sudo-suhasokonet
authored andcommitted
fix: Disable recursive checks for jest-validate (#483)
- Set version for jest-validate to ^23.5.0 which introduced the recursive option. - Regenerate yarn.lock with latest deps.
1 parent 634344a commit c350a0e

3 files changed

Lines changed: 905 additions & 986 deletions

File tree

ā€Žpackage.jsonā€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"find-parent-dir": "^0.3.0",
3636
"is-glob": "^4.0.0",
3737
"is-windows": "^1.0.2",
38-
"jest-validate": "^23.0.0",
38+
"jest-validate": "^23.5.0",
3939
"listr": "^0.14.1",
4040
"lodash": "^4.17.5",
4141
"log-symbols": "^2.2.0",

ā€Žsrc/getConfig.jsā€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ function validateConfig(config) {
138138
exampleConfig,
139139
deprecatedConfig,
140140
unknown: unknownValidationReporter,
141+
recursive: false,
141142
comment:
142143
'Please refer to https://github.com/okonet/lint-staged#configuration for more information...'
143144
})

0 commit comments

Comments
Ā (0)
⚔