mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-06 13:01:39 -07:00
Merge pull request #2307 from a1346054/fixes
Fix redirect in license file and remove trailing whitespace elsewhere
This commit is contained in:
commit
ecacc2e9bb
5 changed files with 6 additions and 8 deletions
|
@ -26,4 +26,3 @@ do
|
||||||
done
|
done
|
||||||
gh release upload "$tag" "${files[@]}" --clobber || exit 1
|
gh release upload "$tag" "${files[@]}" --clobber || exit 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -223,7 +223,7 @@
|
||||||
- SC2185: Suggest explicitly adding path for `find`
|
- SC2185: Suggest explicitly adding path for `find`
|
||||||
- SC2184: Warn about unsetting globs (e.g. `unset foo[1]`)
|
- SC2184: Warn about unsetting globs (e.g. `unset foo[1]`)
|
||||||
- SC2183: Warn about `printf` with more formatters than variables
|
- SC2183: Warn about `printf` with more formatters than variables
|
||||||
- SC2182: Warn about ignored arguments with `printf`
|
- SC2182: Warn about ignored arguments with `printf`
|
||||||
- SC2181: Suggest using command directly instead of `if [ $? -eq 0 ]`
|
- SC2181: Suggest using command directly instead of `if [ $? -eq 0 ]`
|
||||||
- SC1106: Warn when using `test` operators in `(( 1 -eq 2 ))`
|
- SC1106: Warn when using `test` operators in `(( 1 -eq 2 ))`
|
||||||
|
|
||||||
|
@ -394,7 +394,7 @@
|
||||||
### Added
|
### Added
|
||||||
- SC2121: Warn about trying to `set` variables, e.g. `set var = value`
|
- SC2121: Warn about trying to `set` variables, e.g. `set var = value`
|
||||||
- SC2120/SC2119: Warn when a function uses `$1..` if none are ever passed
|
- SC2120/SC2119: Warn when a function uses `$1..` if none are ever passed
|
||||||
- SC2117: Warn when using `su` in interactive mode, e.g. `su foo; whoami`
|
- SC2117: Warn when using `su` in interactive mode, e.g. `su foo; whoami`
|
||||||
- SC2116: Detect useless use of echo, e.g. `for i in $(echo $var)`
|
- SC2116: Detect useless use of echo, e.g. `for i in $(echo $var)`
|
||||||
- SC2115/SC2114: Detect some catastrophic `rm -r "$empty/"` mistakes
|
- SC2115/SC2114: Detect some catastrophic `rm -r "$empty/"` mistakes
|
||||||
- SC1081: Warn when capitalizing keywords like `While`
|
- SC1081: Warn when capitalizing keywords like `While`
|
||||||
|
@ -445,7 +445,7 @@
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- Suggestions about using parameter expansion over basename
|
- Suggestions about using parameter expansion over basename
|
||||||
- The `jsoncheck` binary. Use `shellcheck -f json` instead.
|
- The `jsoncheck` binary. Use `shellcheck -f json` instead.
|
||||||
|
|
||||||
|
|
||||||
## v0.2.0 - 2013-10-27
|
## v0.2.0 - 2013-10-27
|
||||||
|
|
2
LICENSE
2
LICENSE
|
@ -681,4 +681,4 @@ into proprietary programs. If your program is a subroutine library, you
|
||||||
may consider it more useful to permit linking proprietary applications with
|
may consider it more useful to permit linking proprietary applications with
|
||||||
the library. If this is what you want to do, use the GNU Lesser General
|
the library. If this is what you want to do, use the GNU Lesser General
|
||||||
Public License instead of this License. But first, please read
|
Public License instead of this License. But first, please read
|
||||||
<https://www.gnu.org/philosophy/why-not-lgpl.html>.
|
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||||
|
|
|
@ -16,12 +16,12 @@ description: |
|
||||||
advanced user's otherwise working script to fail under future
|
advanced user's otherwise working script to fail under future
|
||||||
circumstances.
|
circumstances.
|
||||||
|
|
||||||
By default ShellCheck can only check non-hidden files under /home, to make
|
By default ShellCheck can only check non-hidden files under /home, to make
|
||||||
ShellCheck be able to check files under /media and /run/media you must
|
ShellCheck be able to check files under /media and /run/media you must
|
||||||
connect it to the `removable-media` interface manually:
|
connect it to the `removable-media` interface manually:
|
||||||
|
|
||||||
# snap connect shellcheck:removable-media
|
# snap connect shellcheck:removable-media
|
||||||
|
|
||||||
version: git
|
version: git
|
||||||
base: core18
|
base: core18
|
||||||
grade: stable
|
grade: stable
|
||||||
|
|
|
@ -75,4 +75,3 @@ find . -name '.git' -prune -o -type f -name '*.hs' -print |
|
||||||
do
|
do
|
||||||
modify "$file" detestify
|
modify "$file" detestify
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue