Sha256: 2316d84b5a9361c58150e8e9c5ac766e083ce9371ec179402a6d9df23b9bf74b
Contents?: true
Size: 457 Bytes
Versions: 12
Compression:
Stored size: 457 Bytes
Contents
desc "Lints ActiveAdmin code base" task lint: ["lint:rubocop", "lint:mdl"] namespace :lint do require "rubocop/rake_task" desc "Checks ruby code style with RuboCop" RuboCop::RakeTask.new desc "Checks markdown code style with Markdownlint" task :mdl do puts "Running mdl..." targets = [ *Dir.glob("docs/**/*.md"), "CONTRIBUTING.md", ".github/ISSUE_TEMPLATE.md" ] abort unless system("mdl", *targets) end end
Version data entries
12 entries across 12 versions & 3 rubygems