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/README.md
CHANGED
|
@@ -160,7 +160,7 @@ import {AceLanguageClient} from "ace-linters/build/ace-language-client";
|
|
|
160
160
|
// Create a web socket
|
|
161
161
|
const serverData = {
|
|
162
162
|
module: () => import("ace-linters/build/language-client"),
|
|
163
|
-
modes: "json
|
|
163
|
+
modes: "json",
|
|
164
164
|
type: "socket",
|
|
165
165
|
socket: new WebSocket("ws://127.0.0.1:3000/exampleServer"), // address of your websocket server
|
|
166
166
|
}
|
|
@@ -229,7 +229,7 @@ languageProvider.registerEditor(editor);
|
|
|
229
229
|
## Supported languages
|
|
230
230
|
Ace linters support the following languages by default with webworkers approach:
|
|
231
231
|
|
|
232
|
-
- JSON
|
|
232
|
+
- JSON *powered by* [vscode-json-languageservice](https://github.com/Microsoft/vscode-json-languageservice)
|
|
233
233
|
- HTML *powered by* [vscode-html-languageservice](https://github.com/Microsoft/vscode-html-languageservice)
|
|
234
234
|
- CSS, SCSS, LESS *powered by* [vscode-css-languageservice](https://github.com/Microsoft/vscode-css-languageservice)
|
|
235
235
|
- Typescript, Javascript, JSX, TSX *powered by* [Typescript](https://github.com/Microsoft/TypeScript)
|
|
@@ -522,7 +522,6 @@ export interface CssServiceOptions extends ServiceOptionsWithErrorMessages {
|
|
|
522
522
|
}
|
|
523
523
|
export interface ServiceOptionsMap {
|
|
524
524
|
json: JsonServiceOptions;
|
|
525
|
-
json5: JsonServiceOptions;
|
|
526
525
|
typescript: TsServiceOptions;
|
|
527
526
|
html: HtmlServiceOptions;
|
|
528
527
|
yaml: YamlServiceOptions;
|
|
@@ -540,7 +539,7 @@ export interface ServiceOptionsMap {
|
|
|
540
539
|
lua: LuaServiceOptions;
|
|
541
540
|
[serviceName: string]: any;
|
|
542
541
|
}
|
|
543
|
-
export type SupportedServices = "json" | "
|
|
542
|
+
export type SupportedServices = "json" | "typescript" | "css" | "html" | "yaml" | "php" | "xml" | /** @deprecated would be removed in next iterations */ "javascript" | "eslint" | "lua" | "less" | "scss" | "python";
|
|
544
543
|
/** Options for the completer coming from the LSP server */
|
|
545
544
|
export interface LspCompleterOptions {
|
|
546
545
|
triggerCharacters: TriggerCharacterOptions;
|