SurveyMonkey::Style
Installation
Add this line to your application's Gemfile:
group :development, :test do
gem 'surveymonkey-style', require: false
end
Usage
RuboCop
Add the following to your .rubocop.yml
inherit_gem:
surveymonkey-style:
- rubocop/all.yml # Includes Performance, Rails, RSpec and Ruby Cops
# - rubocop/performance.yml
# - rubocop/rails.yml
# - rubocop/rspec.yml
# - rubocop/ruby.yml
Yardstick
Pull in the yardstick configuration options like so.
require 'yardstick/rake/verify'
require 'surveymonkey/style'
= YAML.load_file(SurveyMonkey::Style.yardstick)
Yardstick::Rake::Verify.new(:yardstick, )