lib/scss_lint/lint.rb in scss-lint-0.23.1 vs lib/scss_lint/lint.rb in scss-lint-0.24.0

- old
+ new

@@ -1,14 +1,16 @@ module SCSSLint # Stores information about a single problem that was detected by a [Linter]. class Lint - attr_reader :filename, :location, :description, :severity + attr_reader :linter, :filename, :location, :description, :severity + # @param linter [SCSSLint::Linter] # @param filename [String] # @param location [SCSSLint::Location] # @param description [String] # @param severity [Symbol] - def initialize(filename, location, description, severity = :warning) + def initialize(linter, filename, location, description, severity = :warning) + @linter = linter @filename = filename @location = location @description = description @severity = severity end