improve fileMatch spec
This commit is contained in:
Родитель
a0a7e02636
Коммит
b842d49676
|
@ -147,12 +147,12 @@ export interface SchemaConfiguration {
|
|||
* The URI of the schema, which is also the identifier of the schema.
|
||||
*/
|
||||
uri: string;
|
||||
/**
|
||||
* A list of file path glob patterns that are associated to the schema. The '*' and '**' wildcards can be used.
|
||||
* Exclusion patterns starting with '!'.
|
||||
* For example: '*.schema.json', 'package.json', '!foo*.schema.json', 'foo/**\/BADRESP.json'.
|
||||
* A match succeeds when there is at least one pattern matching and last matching patter`n does not start with '!'.
|
||||
*/
|
||||
/**
|
||||
* A list of glob patterns that describe for which file URIs the JSON schema will be used.
|
||||
* '*' and '**' wildcards are supported. Exclusion patterns start with '!'.
|
||||
* For example '*.schema.json', 'package.json', '!foo*.schema.json', 'foo/**\/BADRESP.json'.
|
||||
* A match succeeds when there is at least one pattern matching and last matching pattern does not start with '!'.
|
||||
*/
|
||||
fileMatch?: string[];
|
||||
/**
|
||||
* The schema for the given URI.
|
||||
|
|
Загрузка…
Ссылка в новой задаче