Sha256: e36725a758943e71ced748ce51966626bf87317ee06d1b25d2acdf343ca768f6

Contents?: true

Size: 1.15 KB

Versions: 5

Compression:

Stored size: 1.15 KB

Contents

# Fashion Police

> Sweatpants are a sign of defeat.
> — Karl Lagerfeld

KissKissBankBank's guide for maintaining a common code style.

## Ruby

Follow the [Ruby Style Guide](https://github.com/rubocop-hq/ruby-style-guide)
with our custom
[`.rubocop.yml`](https://github.com/KissKissBankBank/fashion_police/blob/master/.rubocop.yml).

### Gem

To use it in your project, add to your `Gemfile`:

```rb
# KissKissBankBank's shared style configuration
gem 'fashion_police', require: false
```

Then, add to your `.rubocop.yml`:

```yml
inherit_gem:
  fashion_police:
    - default.yml

inherit_mode:
  merge:
    - Exclude
```

### Release

Update the version in `fashion_police.gemspec`, update the `CHANGELOG` and
commit the changes.

Finally:

```sh
rake release
````

If you don't have the correct rights on rubygems.org, create an account and ask
one of the owners to add you with `gem owner fashion_police --add <email>`.


## JavaScript

Follow Airbnb's [JavaScript](https://github.com/airbnb/javascript) guide.

## CSS

Follow Airbnb's [CSS](https://github.com/airbnb/css) guide.

## General

- All comments, commits, committed documentation should be written in English.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fashion_police-2.2.0 README.md
fashion_police-2.1.0 README.md
fashion_police-2.1.O README.md
fashion_police-2.0.1 README.md
fashion_police-2.0.0 README.md