diff --git a/CHANGELOG.md b/CHANGELOG.md index 125d0c5..fef7680 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/ShellCheck/Parser.hs b/src/ShellCheck/Parser.hs index 4f26a80..30bbb69 100644 --- a/src/ShellCheck/Parser.hs +++ b/src/ShellCheck/Parser.hs @@ -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]