@garment/plugin-runner-stylelint
Runs stylelint
Installation
npm i @garment/plugin-runner-stylelint
or
yarn add @garment/plugin-runner-stylelint
Example usage
{
"runner": "stylelint",
"input": "{{projectDir}}/src/**/*.css",
"output": "{{projectDir}}/lib",
"options": {
"configFile": ".stylelintconfig.json",
"fix": true
}
}
API
configFile: path
The config file to load stylelint config from
fix: boolean
Fix automatically linting errors