Skip to content

Mapotempo/mapotempo_rubocop

Repository files navigation

MapotempoRubocop

Test Deliver

This is Mapotempo's rubocop rules for all its projects.

Installation

Add this line to your application's Gemfile:

  gem 'mapotempo_rubocop', github: 'Mapotempo/mapotempo_rubocop'

And then execute:

$ bundle install

Create a .rubocop.yml file at root of your project and add the following lines in it

inherit_gem:
  mapotempo_rubocop:
    - rubocop-default.yml

Pour les utilisateurs de Sublime, aller dans Preferences > Package Settings > Sublime Linter > Settings

{
    "linters": {
        "rubocop": {
            "use_bundle_exec": true,
            "env": {
                "PATH": "~/.rbenv/shims:$PATH"
            },
        }
    }
}

Ajouter aussi le chemin exact du bundler. exemple : ~/.rbenv/shims/bundle

{
    paths": {
	    "linux": ["~/npm_folder/bin", "~/.rbenv/shims", "~/.rbenv/shims/bundle"],
	    "osx": [],
	    "windows": []
	},
}

License

The gem is available as open source under the terms of the MIT License.

About

This is Mapotempo's rubocop rules for all its projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •