mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 13:40:54 +08:00
Remove SC1004 (fixes #2326)
This commit is contained in:
@@ -28,6 +28,9 @@
|
||||
- Quote warnings are now emitted for declaration utilities in sh
|
||||
- Leading `_` can now be used to suppress warnings about unused variables
|
||||
|
||||
### Removed
|
||||
- SC1003: Literal backslash+linefeed in '' was found to be usually correct
|
||||
|
||||
|
||||
## v0.7.2 - 2021-04-19
|
||||
### Added
|
||||
|
@@ -1511,7 +1511,6 @@ readSingleEscaped = do
|
||||
|
||||
case x of
|
||||
'\'' -> parseProblemAt pos InfoC 1003 "Want to escape a single quote? echo 'This is how it'\\''s done'.";
|
||||
'\n' -> parseProblemAt pos InfoC 1004 "This backslash+linefeed is literal. Break outside single quotes if you just want to break the line."
|
||||
_ -> return ()
|
||||
|
||||
return [s]
|
||||
|
Reference in New Issue
Block a user