Skip to content

Commit d218c47

Browse files
authored
fix(config): update OpenAPI globs to support nested paths (#2750)
Fix OpenAPI file type configuration to support `openapi.yaml` and `openapi.*.yaml` anywhere. - [x] Plugin tests passed with snapshot created (`npm test spectral`). - [x] Manual testing with a project using Spectral.
1 parent a56a8f3 commit d218c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qlty-config/default.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ globs = ["*.coffee"]
316316
globs = ["*.swift"]
317317

318318
[file_types.openapi]
319-
globs = ["openapi.yaml", "openapi.*.yaml"]
319+
globs = ["**/openapi.yaml", "**/openapi.*.yaml"]
320320

321321
[file_types.scala]
322322
globs = ["*.scala"]

0 commit comments

Comments
 (0)