Skip to content

swellaby/eslint-config

Repository files navigation

eslint-config

npm version badge npm downloads badge Circle CI Badge license Badge

Contains our various eslint configurations. Geared for our desired linting configuration, but feel free to use it if helps you.

Install

Install the package as a dev dependency:

npm i @swellaby/eslint-config --save-dev

Usage

Add the desired configuration to the extends key in your eslint configuration file.

For example to use our default configuration (designed for node.js targetted codebases):

{
    "extends": [ "@swellaby" ]
}

Or to use our default configuration designed for browser/web targetted codebases

{
    "extends": [ "@swellaby/eslint-config/lib/bundles/browser" ]
}

This module includes several other eslint configurations, which are described in detail in our config bundle documentation.

Contributing

See the Contributing docs for details about how to contribute, build, etc.

License

MIT - see license details here