eslint-config-cssnano
v3.1.3 eslint eslint-config cssnano
eslint-config-cssnano
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