Feedmob shared style configs.
Add this line to your application's Gemfile:
group :development do
gem "feedmob-style", github: "feed-mob/feedmob-style-configuration", branch: "master"
endOr, for a Ruby library, add this to your gemspec:
spec.add_development_dependency "feedmob-style"And then execute:
$ bundle installPlease execute:
$ bundle update feedmob-stuleCreate a sider.yml with the following directives:
linter:
rubocop:
gems:
- name: "feedmob-style"
git:
repo: "https://github.com/feed-mob/feedmob-style-configuration"
branch: "master"
querly:
gems:
- name: "feedmob-style"
git:
repo: "https://github.com/feed-mob/feedmob-style-configuration"
branch: "master"Create a .rubocop.yml with the following directives:
inherit_gem:
feedmob-style:
- config/rubocop-default.ymlNow, run:
$ bundle exec rubocop
Create a goodcheck.yml with the following directives:
import:
- https://raw.githubusercontent.com/feed-mob/feedmob-style-configuration/master/config/goodcheck-default.ymlNow, run:
$ bundle exec goodcheck check
Create a querly.yml with the following directives:
import:
- require: feedmob/styleNow, run:
$ bundle exec querly check .