-
In your project add this repo as a devDependency:
yarn add --dev github:beta-district/styleguide
-
Create a
.eslintrc.json
file that extends these rules:{ "root": true, "extends": ["./node_modules/eslint-config-betadistrict/eslintrc.js"] }
-
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"
Extend the base config normally in .eslintrc.json
:
"extends": ["betadistrict"]
#todo