https://github.com/alan-agius4/speedy-build-angular
Angular CLI third party builder for Stylelint
https://github.com/alan-agius4/speedy-build-angular
angular angular-cli builder lint stylelint
Last synced: about 1 month ago
JSON representation
Angular CLI third party builder for Stylelint
- Host: GitHub
- URL: https://github.com/alan-agius4/speedy-build-angular
- Owner: alan-agius4
- License: mit
- Created: 2018-07-22T16:13:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T08:19:32.000Z (over 2 years ago)
- Last Synced: 2025-04-11T23:11:35.231Z (about 1 month ago)
- Topics: angular, angular-cli, builder, lint, stylelint
- Language: TypeScript
- Homepage:
- Size: 780 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 38
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Angular CLI Stylelint builder
[](https://circleci.com/gh/alan-agius4/speedy-build-angular/tree/master)
[](https://ci.appveyor.com/project/alan-agius4/speedy-build-angular)
[](https://www.npmjs.com/package/@speedy/build-angular)
[](https://david-dm.org/alan-agius4/speedy-build-angular)
[](https://david-dm.org/alan-agius4/speedy-build-angular?type=dev)Angular CLI third party builder (not officially supported by Angular), for [Stylelint](https://github.com/stylelint/stylelint).
## Get started
```bash
npm install @speedy/build-angular stylelint --save-dev
```Open your `angular.json` and add the new builder example;
```json
"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](https://github.com/alan-agius4/speedy-build-angular/blob/master/src/schema.json).
More details about angular workspace can be found in the [Angular CLI docs](https://github.com/angular/angular-cli/wiki/angular-workspace).
To run the new builder use the following command;
```bash
ng run :lint-styles
```