Remove SC1004 (fixes #2326)

This commit is contained in:
Vidar Holen 2021-09-18 17:43:55 -07:00
parent 09aa15c9b7
commit 2536507060
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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]