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"
end
Or, for a Ruby library, add this to your gemspec:
spec.add_development_dependency "feedmob-style"
And then execute:
$ bundle install
Please execute:
$ bundle update feedmob-stule
Create 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.yml
Now, 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.yml
Now, run:
$ bundle exec goodcheck check
Create a querly.yml
with the following directives:
import:
- require: feedmob/style
Now, run:
$ bundle exec querly check .