Skip to content

Commit

Permalink
update ace-linters version
Browse files Browse the repository at this point in the history
  • Loading branch information
mkslanc committed Apr 1, 2023
1 parent a1b6674 commit d30a198
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 11 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dependencies": {
"ace-code": "latest",
"ace-layout": "1.3.1",
"ace-linters": "^0.5.0",
"ace-linters": "^0.7.1",
"typescript": "latest"
},
"devDependencies": {
Expand Down
17 changes: 14 additions & 3 deletions src/linters/linters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,22 @@ function correctDeclaration(declaration) {
private readonly $messageController;
private $sessionLanguageProviders;
private $editors;
static fromCdn(cdnUrl: string): LanguageProvider;
static fromCdn(cdnUrl: string, options?:ProviderOptions): LanguageProvider;
registerEditor(editor: Ace.Editor)
setOptions(session: Ace.EditSession, options);
setSessionOptions(session: Ace.EditSession, options);
setGlobalOptions(serviceName, options, merge?:boolean)
}
}\n
declare interface ProviderOptions {
functionality: {
hover: boolean,
completion: {
overwriteCompleters: boolean
} | false,
completionResolve: boolean,
format: boolean
},
markdownConverter?: MarkDownConverter
}
`;
}

Expand Down

0 comments on commit d30a198

Please sign in to comment.