Sha256: e6eeb51b9156e9aeef664c47fca5b30e44ef6a125d0a81f4f3730f18df2a886f

Contents?: true

Size: 1.19 KB

Versions: 7

Compression:

Stored size: 1.19 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 with a commit message like `v1.0.0`.

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

7 entries across 7 versions & 1 rubygems

Version Path
fashion_police-2.4.4 README.md
fashion_police-2.4.3 README.md
fashion_police-2.4.2 README.md
fashion_police-2.4.1 README.md
fashion_police-2.4.0 README.md
fashion_police-2.3.1 README.md
fashion_police-2.3.0 README.md