app/models/legislation/annotation.rb

Summary

Maintainability
A
0 mins
Test Coverage

Line is too long. [103/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
Open

      self.context = "#{remainder_el_start}<span class=annotator-hl>#{quote}</span>#{remainder_el_end}"

Line is too long. [113/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
Open

  belongs_to :draft_version, class_name: 'Legislation::DraftVersion', foreign_key: 'legislation_draft_version_id'

Line is too long. [101/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
Open

      remainder_el_start = el_start.text[0 .. range_start_offset - 1] unless range_start_offset.zero?

There are no issues that match your filters.

Category
Status