     {ast, specs}
   end
 
-  defp find_strings({line_no, line}, [true, strings]) do
-    if heredoc_delimiter?(line) do
-      [false, strings]
-    else
-      [true, strings ++ [line_no]]
-    end
-  end
-
-  defp find_strings({line_no, line}, [false, strings]) do
-    cond do
-      heredoc_delimiter?(line) ->
-        [true, strings]
-      string_literal?(line) ->
-        [false, strings ++ [line_no]]
-      true ->
-        [false, strings]
-    end
-  end
-
-  defp string_literal?(line) do
-    String.match?(line, ~r/\A\s*\\*\".+\\*\"\s*\z/)
-  end
-
-  defp heredoc_delimiter?(line) do
-    String.match?(line, ~r/\A\s*\\?\"\\?\"\\?\"\s*\z/)
-  end
-
-  defp refute_issue?(line_no, definitions, ignore_definitions, specs, ignore_specs, strings, ignore_strings) do
+  defp refute_issue?(line_no, definitions, ignore_definitions, specs, ignore_specs) do
     ignore_definitions? =
       if ignore_definitions, do: Enum.member?(definitions, line_no), else: false
 
     ignore_specs? =
       if ignore_specs, do: Enum.member?(specs, line_no), else: false
 
-    ignore_strings? =
-      if ignore_strings, do: Enum.member?(strings, line_no), else: false
-
-    ignore_definitions? || ignore_specs? || ignore_strings?
+    ignore_definitions? || ignore_specs?
   end
 
   defp issue_for(line_no, max_length, line, issue_meta) do


    definitions = Credo.Code.prewalk(ast, &find_definitions/2)
    specs = Credo.Code.prewalk(ast, &find_specs/2)
    [_in_heredoc, strings] = Enum.reduce(lines, [false, []], &find_strings/2)

    Enum.reduce(lines, [], fn({line_no, line}, issues) ->
      if String.length(line) > max_length do
        if refute_issue?(line_no, definitions, ignore_definitions, specs, ignore_specs, strings, ignore_strings) do
          issues
        else
          [issue_for(line_no, max_length, line, issue_meta) | issues]


  use Credo.Check, base_priority: :low

  def run(%SourceFile{ast: ast, source: source} = source_file, params \\ []) do
    issue_meta = IssueMeta.for(source_file, params)
    max_length = Params.get(params, :max_length, @default_params)
    ignore_definitions = Params.get(params, :ignore_definitions, @default_params)
