Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.32 KB

README.md

File metadata and controls

34 lines (27 loc) · 1.32 KB

eslint-config-uclaradio

Greenkeeper badge dependencies Status peerDependencies Status

How UCLA Radio writes Javascript. We use this on our website! There isn't very much exciting here, this is just a combination of Airbnb's JavaScript style configuration combined with Prettier's styling rules (with some modifications made). You can add it to your project by installing eslint and prettier first, then eslint-config-uclaradio, then adding it to your .eslintrc file.

Installation

What you put in your terminal:

# We prefer yarn, but npm also works
yarn add --dev eslint prettier
yarn add --dev eslint-config-uclaradio

Then configure your .eslintrc.json (or alternative) as follows:

{
  "extends": "uclaradio"
}