Angular CLI third party builder for Stylelint
MIT License
Angular CLI third party builder (not officially supported by Angular), for Stylelint.
npm install @speedy/build-angular stylelint --save-dev
Open your angular.json
and add the new builder example;
"lint-styles": {
"builder": "@speedy/build-angular:stylelint",
"options": {
"stylelintConfig": ".stylelintrc",
"exclude": [
"**/node_modules/**"
]
}
}
For a full list of options that can be provided to this builder check the schema.
More details about angular workspace can be found in the Angular CLI docs.
To run the new builder use the following command;
ng run <project>:lint-styles