eslint-config-cssnano

3.1.3 • Public • Published

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

Package Sidebar

Install

npm i eslint-config-cssnano

Weekly Downloads

61

Version

3.1.3

License

MIT

Last publish

Collaborators

  • beneb