Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 727 Bytes

README.md

File metadata and controls

35 lines (28 loc) · 727 Bytes

Style Guides

Node.js

  1. In your project add this repo as a devDependency:

    yarn add --dev github:beta-district/styleguide
    
  2. Create a .eslintrc.json file that extends these rules:

    {
      "root": true,
      "extends": ["./node_modules/eslint-config-betadistrict/eslintrc.js"]
    }
  3. Add this to codeclimate.yml:

    prepare:
      fetch:
      - url: "https://raw.githubusercontent.com/beta-district/styleguide/master/eslintrc.js"
        path: "node_modules/eslint-config-betadistrict/eslintrc.js"

Without Code Climate Support

Extend the base config normally in .eslintrc.json:

  "extends": ["betadistrict"]

Ruby

Golang

#todo