You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Updating to latest version of everything
* Removed tests, they aren't really doing anything
* Added new configuration for debounce time on change events
* Added eslint
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,8 @@ Press F1 or CTRL+P (or CMD+P) and type out `> ext install travisthetechie.write-
14
14
15
15
`write-good.only-lint-on-save` disables linting during editing for large files. A save triggers linting.
16
16
17
+
`write-good.debounce-time-in-ms` is the minimum time, in milliseconds, that must wait between linting attempts. Saving ignores the minimum time. Default is 200ms. This is useful if linting causes any performance hit and you want to limit it.
18
+
17
19
## License and acknowledgements
18
20
19
21
This is licensed under the MIT open source license. Do what you want with this software, just include notice that it orginated with me.
Copy file name to clipboardExpand all lines: package.json
+23-12Lines changed: 23 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -2,23 +2,32 @@
2
2
"name": "write-good-linter",
3
3
"displayName": "Write Good Linter",
4
4
"description": "Applies the Write Good Linter to your Markdown, so you can write more good.",
5
-
"version": "0.1.4",
5
+
"version": "0.1.5",
6
6
"publisher": "travisthetechie",
7
7
"engines": {
8
-
"vscode": "^1.26.0"
8
+
"vscode": "^1.89.0"
9
9
},
10
10
"categories": [
11
11
"Linters"
12
12
],
13
13
"activationEvents": [
14
-
"*"
14
+
"onStartupFinished"
15
15
],
16
16
"main": "./out/src/extension",
17
17
"contributes": {
18
18
"configuration": {
19
19
"type": "object",
20
20
"title": "write-good",
21
21
"properties": {
22
+
"write-good.debounce-time-in-ms": {
23
+
"type": [
24
+
"null",
25
+
"number"
26
+
],
27
+
"default": 200,
28
+
"markdownDescription": "Minimum milliseconds between linting attempts. Default is 200ms, increasing this can reduce load when working with large files. Linting on save and load are not rate limited.",
0 commit comments