File: rubocop.rb

package info (click to toggle)
ruby-test-prof 0.12.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 508 kB
  • sloc: ruby: 4,075; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 373 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

require "test_prof/utils"
supported = TestProf::Utils.verify_gem_version("rubocop", at_least: "0.51.0")
unless supported
  warn "TestProf cops require RuboCop >= 0.51.0 to run."
  return
end

require "rubocop"

require_relative "cops/inject"
require "test_prof/cops/rspec/aggregate_examples"
require "test_prof/cops/rspec/aggregate_failures"