This repository was archived by the owner on Oct 19, 2021. It is now read-only.

Description
This function generates a "Line contains a trailing semicolon" lint error, even though the trailing semicolon is part of a block string:
fn = (index) ->
query =
"""
UPDATE #{TABLENAME}
SET library = (CASE WHEN #{LIBRARY} IS NOT NULL THEN 'a' ELSE 'b' END)
WHERE #{ID} % #{CHUNKS} = #{index};
VACUUM #{TABLENAME};
"""
The error:
✗ foo.coffee
✗ #6: Line contains a trailing semicolon.
✗ Lint! » 1 error and 0 warnings in 1 file
This goes away if I remove any of the other individual lines in the block string.