npm.io
0.6.0 • Published 8 years ago

eslint-config-pandora

Licence
—
Version
0.6.0
Deps
5
Size
59 kB
Vulns
0
Weekly
0

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.