Skip to content

feed-mob/feedmob-style-configuration

Repository files navigation

feedmob-style

Feedmob shared style configs.

Installation

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

Update

Please execute:

$ bundle update feedmob-stule

Usage

Sider.yml

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"

RuboCop

https://github.com/rubocop-hq/rubocop

Create a .rubocop.yml with the following directives:

inherit_gem:
  feedmob-style:
    - config/rubocop-default.yml

Now, run:

$ bundle exec rubocop

GoodCheck

https://github.com/sider/goodcheck

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

Querly

https://github.com/soutaro/querly

Create a querly.yml with the following directives:

import:
  - require: feedmob/style

Now, run:

$ bundle exec querly check .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •