# @bmatei/stylelint-builder-angular

> stylelint builder for Angular.

Latest version **1.1.0** (published 2020-03-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install @bmatei/stylelint-builder-angular
pnpm add @bmatei/stylelint-builder-angular
yarn add @bmatei/stylelint-builder-angular
bun add @bmatei/stylelint-builder-angular
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2020-03-31 |
| First published | 2020-03-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 18.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Bogdan Matei |
| Maintainers | bmatei |
| Keywords | angular, angular-cli, css, lint, scss, stylelint |

## Links

- npm: https://www.npmjs.com/package/@bmatei/stylelint-builder-angular
- Repository: https://github.com/bfmatei/stylelint-builder-angular
- Homepage: https://github.com/bfmatei/stylelint-builder-angular#readme
- Issues: https://github.com/bfmatei/stylelint-builder-angular/issues
- npm.io page: https://npm.io/package/@bmatei/stylelint-builder-angular

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2020-03-31
- 1.0.2 — 2020-03-29
- 1.0.1 — 2020-03-28
- 1.0.0 — 2020-03-26
- 0.0.0-development — 2020-03-26

## README

# stylelint builder for Angular  
Run [stylelint](https://stylelint.io/) from Angular CLI.

Please note that this builder runs stylelint using the CLI engine. It's still pretty experimental.

## Install
1. Install stylelint: `npm install stylelint --save-dev`
2. Install the builder: `npm install @bmatei/stylelint-builder-angular --save-dev`
3. Add the builder to `angular.json`:
```
"stylelint": {
  "builder": "@bmatei/stylelint-builder-angular:lint"
}
```
4. Run stylelint: `ng run <project>:stylelint`

## Available options
Some options correspond to the stylelint config parameters. By default, these do not override any behavior in stylelint. 
1. `cache`
    - [Reference](https://stylelint.io/user-guide/usage/options#cache)
2. `cacheLocation`
    - [Reference](https://stylelint.io/user-guide/usage/options#cachelocation)
3. `configFile`
    - [Reference](https://stylelint.io/user-guide/usage/options#configfile)
4. `disableDefaultIgnores`
    - [Reference](https://stylelint.io/user-guide/usage/options#disabledefaultignores)
5. `files`
    - Array of glob patterns to be checked.
    - Default: `["src/**/*.@(css|less|pcss|sass|scss)"]` 
6. `force`
    - Ignore any errors and warnings and return a success status.
    - Default: `false`
7. `formatter`
    - [Reference](https://stylelint.io/user-guide/usage/options#formatter)
8. `ignorePath`
    - [Reference](https://stylelint.io/user-guide/usage/options#ignorepath)
9. `maxWarnings`
    - [Reference](https://stylelint.io/user-guide/usage/options#maxwarnings)
10. `reportInvalidScopeDisables`
    - [Reference](https://stylelint.io/user-guide/usage/options#reportInvalidScopeDisables)  
11. `reportNeedlessDisables`
    - [Reference](https://stylelint.io/user-guide/usage/options#reportNeedlessDisables)
12. `silent`
    - Suppress any output from the builder.
    - Default: `false`

---
_Source: https://npm.io/package/@bmatei/stylelint-builder-angular · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
