Dollar signs used before commands without showing output
code
This rule is triggered when code blocks show shell commands preceded by dollar signs ($), but no output is displayed.
$ ls
$ cat foo
$ less barls
cat foo
less barOr when output is shown:
$ ls
file1.txt file2.txt
$ cat file1.txt
Hello WorldIt is easier to copy/paste and less noisy if the dollar signs are omitted when they are not needed.
This rule has no configuration options.