ace-linters 2.1.2 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/build/ace-language-client.d.ts +1 -2
- package/build/ace-language-client.js +5428 -5953
- package/build/ace-linters.d.ts +1 -2
- package/build/ace-linters.js +5428 -5959
- package/build/json-service.js +2 -2
- package/build/yaml-service.js +18856 -20092
- package/package.json +3 -2
package/build/json-service.js
CHANGED
|
@@ -13478,7 +13478,7 @@
|
|
|
13478
13478
|
$configureJsonService(schemas) {
|
|
13479
13479
|
this.$service.configure({
|
|
13480
13480
|
schemas,
|
|
13481
|
-
allowComments: this.
|
|
13481
|
+
allowComments: this.globalOptions.allowComments,
|
|
13482
13482
|
validate: true
|
|
13483
13483
|
});
|
|
13484
13484
|
}
|
|
@@ -13513,7 +13513,7 @@
|
|
|
13513
13513
|
let fullDocument = this.getDocument(document.uri);
|
|
13514
13514
|
if (!fullDocument) return [];
|
|
13515
13515
|
let jsonDocument = this.$service.parseJSONDocument(fullDocument);
|
|
13516
|
-
return filterDiagnostics(await this.$service.doValidation(fullDocument, jsonDocument, { trailingCommas: this.
|
|
13516
|
+
return filterDiagnostics(await this.$service.doValidation(fullDocument, jsonDocument, { trailingCommas: this.globalOptions.trailingCommas ? "ignore" : "error" }), this.optionsToFilterDiagnostics);
|
|
13517
13517
|
}
|
|
13518
13518
|
async doComplete(document, position) {
|
|
13519
13519
|
let fullDocument = this.getDocument(document.uri);
|