Skip to content

Commit

Permalink
feat(LanguageTool): add disabled rules by default
Browse files Browse the repository at this point in the history
  • Loading branch information
xatier committed Feb 26, 2024
1 parent 545d915 commit 5ca566b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/lt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ API_URL = "https://api.languagetoolplus.com/v2/check"
LANG = 'en-US'
USER = ""
API_KEY = ""
DISABLED_RULES = ",".join([
'DASH_RULE',
'MULTIPLICATION_SIGN',
])
LEVEL = "picky"
VERBOSE = False

Expand Down Expand Up @@ -154,7 +158,7 @@ params = {
"username": USER,
"apiKey": API_KEY,
"enabledRules": None,
"disabledRules": None,
"disabledRules": DISABLED_RULES,
"level": LEVEL,
}

Expand Down

0 comments on commit 5ca566b

Please sign in to comment.