0.3.0 • Published 4 years ago

@speedy/build-angular v0.3.0

Weekly downloads
1,518
License
ISC
Repository
github
Last release
4 years ago

Angular CLI Stylelint builder

CircleCI Build status npm version Dependency Status devDependency Status

Angular CLI third party builder (not officially supported by Angular), for Stylelint.

Get started

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