-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add linting/warnings #117
Comments
Note that in most cases these advanced usages only start to appear after we flatten—so we would want to lint the flattened output? |
If we lint against |
TIL that #!/bin/sh
echo stdout!
echo stderr... >&2 $ ./script.sh > out.txt
stderr...
$ cat out.txt
stdout! Alternatively we could add a distinct |
This can either be a subcommand in the preexisting binary or a new binary - it doesn't make much difference in code as everything that matters is in the shared library. I'm tempted to say that it should be a new binary given how opinionated towards our own needs it'll be. Current rule plans and whether they're not too specific to our needs:
|
This could lint against:
{n, plural, other {}}
(plural
andselectordinal
: allow single caseother
#108)select
/plural
/etc in a message ** I feel like this should be configurable, but that's probably overkill for now.
Notably these should be warnings, not errors. As such they need to be expressed via stdout, meaning we may want to start writing to files directly. Relevant: #1, #25
The text was updated successfully, but these errors were encountered: