eslint-config-cssnano

v3.1.3
Shared eslint config for cssnano.
eslint eslint-config cssnano

eslint-config-cssnano Build Status

Shared eslint config for cssnano.

Install

With npm do:

npm install eslint-config-cssnano --save-dev

Note that for Node versions below 5, you must install the following plugins along with eslint-config-cssnano;

npm install eslint-plugin-babel eslint-plugin-import --save-dev

Example

In package.json:

{
    "eslintConfig": {
        "extends": "cssnano"
    }
}

Flow

To use the Flow configuration, you must install the following plugins on top of the default dependencies;

npm install eslint-plugin-flow-vars eslint-plugin-flowtype --save-dev

Then in package.json;

{
    "eslintConfig": {
        "extends": "cssnano/flow"
    }
}

License

MIT © Ben Briggs

npm i eslint-config-cssnano

Metadata

  • MIT
  • >=4
  • Ben Briggs
  • released 8/2/2016

Downloads

Maintainers