unixorn/awesome-zsh-plugins

View on GitHub

Showing 5 of 8 total issues

'(' is invalid here. Did you forget to escape it?
Open

[[ -z "$1" || "$1" = (-h|--help) ]] && {

Expected another argument for this operator.
Open

[[ -z "$1" || "$1" = (-h|--help) ]] && {

Lists should be surrounded by blank lines
Open

- [ ] I have confirmed that the link(s) in my PR are valid.
Severity: Info
Found in PULL_REQUEST_TEMPLATE.md by markdownlint

MD032 - Lists should be surrounded by blank lines

Tags: bullet, ul, ol, blank_lines

Aliases: blanks-around-lists

This rule is triggered when lists (of any kind) are either not preceded or not followed by a blank line:

Some text
* Some
* List

1. Some
2. List
Some text

To fix this, ensure that all lists have a blank line both before and after (except where the block is at the beginning or end of the document):

Some text

* Some
* List

1. Some
2. List

Some text

Rationale: Aside from aesthetic reasons, some parsers, including kramdown, will not parse lists that don't have blank lines before and after them.

Note: List items without hanging indents are a violation of this rule; list items with hanging indents are okay:

* This is
not okay

* This is
  okay

Couldn't parse this test expression.
Open

[[ -z "$1" || "$1" = (-h|--help) ]] && {

Couldn't parse this ...

This parsing error points to the structure ShellCheck was trying to parse when a parser error occurred. See [[Parser error]] for more information.

Notice

Original content from the ShellCheck https://github.com/koalaman/shellcheck/wiki.

Fix any mentioned problems and try again.
Open

[[ -z "$1" || "$1" = (-h|--help) ]] && {

Unexpected ..

Note: There is a [known bug](../issues/1036) in the current version when [directives](../wiki/Directive) appear within then clauses of if blocks that causes Shellcheck to report SC1072 on otherwise valid code. Avoid using directives within then clauses - instead place them at the top of the if block or another enclosing block. This is fixed on the online version and the next release.

See Parser Error.

Notice

Original content from the ShellCheck https://github.com/koalaman/shellcheck/wiki.

Severity
Category
Status
Source
Language