eslint-config-pandora
v0.6.0
Published
This library provides a set of eslint rules to get you started developing javascript libraries and applications.
Downloads
23
Readme
Pandora Javascript Styleguide
This library provides a set of eslint rules to get you started developing javascript libraries and applications.
Install
First, you'll need to install eslint-config-pandora
into your library:
npm install --save-dev eslint-config-pandora
Next, you create a .eslintrc
file that references the pandora rules rules you just installed as well as any other options you'd like to set.
There are two targets that you can extend. Extend pandora
for basic js projects without es6/react. For es6/react projects, extend pandora/react-es6-config
instead.
{
extends: [
"pandora"
]
, env: {}
, globals: {}
, rules: {}
}
You're now ready to lint your js code with eslint.