Skip to content

Commit 89fbcfa

Browse files
committed
improve documentation for LINT_FILE_DEBOUNCE_DELAY constant
1 parent d261334 commit 89fbcfa

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

server/src/server.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ import { loadAglintModule, type LoadedAglint } from './utils/aglint-loader';
4949
import { getErrorMessage, getErrorStack } from './utils/error';
5050
import { isFileUri } from './utils/uri';
5151

52+
/**
53+
* Debounce delay for linting files.
54+
* It is used to avoid too frequent linting when the user modifies the file.
55+
*/
5256
const LINT_FILE_DEBOUNCE_DELAY = 100;
5357

5458
/**

0 commit comments

Comments
 (0)