Sha256: 24d29a7b3344fe54c2db1de9edbdb935e2c93ad60c3fde6480f0b419737142d1

Contents?: true

Size: 701 Bytes

Versions: 3

Compression:

Stored size: 701 Bytes

Contents

# frozen_string_literal: true

# external libs
require "version_gem"
require "rubocop"
require "standard-custom"

require_relative "lts/version"
# Load any Cops that aren't explicitly loaded by standard's plugins (e.g. standard-custom).
require_relative "lts/cops"

# Namespace for this library
module Standard
  # Configure / override standard's rules for use with rubocop-lts
  module Rubocop
    # Lts indicates support for Ruby style linting back to Ruby 1.8 & 1.9
    # rubocop itself stops at Ruby 2.0
    module Lts
      # So far, the Error class is unused.
      class Error < StandardError; end
    end
  end
end

Standard::Rubocop::Lts::Version.class_eval do
  extend VersionGem::Basic
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
standard-rubocop-lts-1.0.10 lib/standard/rubocop/lts.rb
standard-rubocop-lts-1.0.9 lib/standard/rubocop/lts.rb
standard-rubocop-lts-1.0.8 lib/standard/rubocop/lts.rb