improve eslint config

This commit is contained in:
Vendicated
2025-11-23 23:55:37 +01:00
parent 34c92cfb59
commit 0483a1abdc
14 changed files with 254 additions and 52 deletions
+2
View File
@@ -66,6 +66,7 @@ addContextMenuPatch("textarea-context", children => {
<>
{corrections.map(c => (
<Menu.MenuItem
key={c}
id={"vcd-spellcheck-suggestion-" + c}
label={c}
action={() => VesktopNative.spellcheck.replaceMisspelling(c)}
@@ -95,6 +96,7 @@ addContextMenuPatch("textarea-context", children => {
const isEnabled = spellCheckLanguages.includes(lang);
return (
<Menu.MenuCheckboxItem
key={lang}
id={"vcd-spellcheck-lang-" + lang}
label={lang}
checked={isEnabled}