mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 20:20:03 +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
|
- Quote warnings are now emitted for declaration utilities in sh
|
||||||
- Leading `_` can now be used to suppress warnings about unused variables
|
- 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
|
## v0.7.2 - 2021-04-19
|
||||||
### Added
|
### Added
|
||||||
|
@@ -1511,7 +1511,6 @@ readSingleEscaped = do
|
|||||||
|
|
||||||
case x of
|
case x of
|
||||||
'\'' -> parseProblemAt pos InfoC 1003 "Want to escape a single quote? echo 'This is how it'\\''s done'.";
|
'\'' -> 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 ()
|
||||||
|
|
||||||
return [s]
|
return [s]
|
||||||
|
Reference in New Issue
Block a user