SC2240: Warn about . script args.. in sh/dash (fixes #1373)

This commit is contained in:
Vidar Holen
2018-11-07 17:57:07 -08:00
parent de95c376ea
commit 2827b35696
2 changed files with 13 additions and 0 deletions

View File

@@ -5,6 +5,7 @@
- SC2236/SC2237: Suggest -n/-z instead of ! -z/-n
- SC2238: Warn when redirecting to a known command name, e.g. ls > rm
- SC2239: Warn if the shebang is not an absolute path, e.g. #!bin/sh
- SC2240: Warn shen passing additional arguments to dot (.) in sh/dash
- SC1133: Better diagnostics when starting a line with |/||/&&
### Changed
- Most warnings now have useful end positions