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
I've updated the settings to include the woke.customArgs but it is not finding words unless in the default settings. Here is the code I have used. Any idea what I am missing to get this to work?
Additionally, I tried copying your default .woke.yaml file and placing in my $HOME directory. After doing so I get the following error.
Woke: woke failed. Arguments: --stdin -o json stderr: Error: yaml: unmarshal errors: line 3: cannot unmarshal !!seq into config.Config Usage: woke [globs ...] [flags] Flags: -c, --config string Config file (default is .woke.yaml in current directory, or $HOME) --debug Enable debug logging --disable-default-rules Disable the default ruleset --exit-1-on-failure Exit with exit code 1 on failures -h, --help help for woke --no-ignore Ignored files in .gitignore, .ignore, .wokeignore, .git/info/exclude, and inline ignores are processed -o, --output string Output type [text,simple,github-actions,json,sonarqube,checkstyle] (default "text") --stdin Read from stdin -v, --version version for woke
I'd really like to get this sorted out so I can use the extension.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I've updated the settings to include the woke.customArgs but it is not finding words unless in the default settings. Here is the code I have used. Any idea what I am missing to get this to work?
"woke.customArgs": [
"{ "woke.customWords": [ { "word": "master", "alternatives": ["main", "primary", "lead", "leader"] }, { "word": "whitelist", "alternatives": ["allow list", "allowed list", "approve list", "approved list"] }, { "word": "abort", "alternatives": ["stop", "end", "cancel"] }, { "word": "black day", "alternatives": ["blocked day"] }, { "word": "blacklist", "alternatives": ["deny list", "blocked list"] }, { "word": "customer master key (CMK)", "alternatives": ["AWS KMS key", "KMS key"] },{ "word": "execute", "alternatives": ["start", "run"] }, { "word": "hang", "alternatives": ["stop responding"] },{ "word": "kill", "alternatives": ["end", "stop"] }, { "word": "master account", "alternatives": ["management account"] }, { "word": "slave", "alternatives": ["replica", "secondary", "standby"] }, { "word": "white day", "alternatives": ["open day"] }, { "word": "blackout", "alternatives": ["service outage", "blocked"] }, { "word": "demilitarized zone (DMZ)", "alternatives": ["perimeter network", "perimeter zone"] }, { "word": "disable", "alternatives": ["turn off", "deactivate", "stop"] }, { "word": "enable", "alternatives": ["turn on", "activate", "start"] }, { "word": "invalid", "alternatives": ["not valid"] }, { "word": "primitive", "alternatives": ["primitive data type", "primitive type"] }, { "word": "purge", "alternatives": ["delete", "clear", "remove"] }, { "word": "segregate", "alternatives": ["separate", "isolate"] }, { "word": "trigger", "alternatives": ["initiate", "invoke", "launch", "start"] }, { "word": "we", "alternatives": ["you"] }, { "word": "our", "alternatives": ["your"] }, { "word": "ours", "alternatives": ["yours", "", ""] }, { "word": "will", "alternatives": ["Change to active wording"] }, { "word": "let's", "alternatives": ["Change to active wording", "", ""] } ] }"
],
"woke.run": "onType",
Additionally, I tried copying your default .woke.yaml file and placing in my $HOME directory. After doing so I get the following error.
Woke: woke failed. Arguments: --stdin -o json stderr: Error: yaml: unmarshal errors: line 3: cannot unmarshal !!seq into config.Config Usage: woke [globs ...] [flags] Flags: -c, --config string Config file (default is .woke.yaml in current directory, or $HOME) --debug Enable debug logging --disable-default-rules Disable the default ruleset --exit-1-on-failure Exit with exit code 1 on failures -h, --help help for woke --no-ignore Ignored files in .gitignore, .ignore, .wokeignore, .git/info/exclude, and inline ignores are processed -o, --output string Output type [text,simple,github-actions,json,sonarqube,checkstyle] (default "text") --stdin Read from stdin -v, --version version for woke
I'd really like to get this sorted out so I can use the extension.
Kind regards,
Marcus
Beta Was this translation helpful? Give feedback.
All reactions