Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

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

install

npm i eslint-config-cssnano

Downloadsweekly downloads

379

version

3.1.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability