eslint-config-uclaradio
v1.0.19
Published
An eslint configuration used by UCLA Radio.
Downloads
38
Readme
eslint-config-uclaradio
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"
}