mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-16 10:03:08 -07:00
Remove SC1004 (fixes #2326)
This commit is contained in:
parent
09aa15c9b7
commit
2536507060
2 changed files with 3 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue