Skip to content

Commit f742772

Browse files
committed
improve documentation comments and remove unnecessary eslint-disable
1 parent 5b214ea commit f742772

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

server/src/server.ts

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable no-bitwise */
21
/**
32
* @file AGLint Language Server for VSCode (Node.js).
43
*
@@ -50,14 +49,25 @@ import { loadAglintModule, type LoadedAglint } from './utils/aglint-loader';
5049
import { getErrorMessage, getErrorStack } from './utils/error';
5150
import { isFileUri } from './utils/uri';
5251

53-
// Create a connection for the server, using Node's IPC as a transport.
54-
// Also include all preview / proposed LSP features.
52+
/**
53+
* Create a connection for the server, using Node's IPC as a transport.
54+
* Also include all preview / proposed LSP features.
55+
*/
5556
const connection = createConnection(ProposedFeatures.all);
5657

57-
// Create a simple text document manager.
58+
/**
59+
* Create a simple text document manager.
60+
*/
5861
const documents: TextDocuments<TextDocument> = new TextDocuments(TextDocument);
5962

63+
/**
64+
* Whether the client supports the `workspace/configuration` request.
65+
*/
6066
let hasConfigurationCapability = false;
67+
68+
/**
69+
* Whether the client supports the `workspace/workspaceFolders` request.
70+
*/
6171
let hasWorkspaceFolderCapability = false;
6272

6373
/**

0 commit comments

Comments
 (0)