Gem for perform linter on static code
Add this line to your application's Gemfile:
gem 'onlyoffice_rake_code_linter'
And then execute:
bundle
Or install it yourself as:
gem install onlyoffice_rake_code_linter
Integrate into your Rakefile
with
require 'onlyoffice_rake_code_linter'
spec = Gem::Specification.find_by_name 'onlyoffice_rake_code_linter'
rakefile = "#{spec.gem_dir}/lib/onlyoffice_rake_code_linter/Rakefile"
load rakefile
and see available task with rake -T