speedy-build-angular

Angular CLI third party builder for Stylelint

MIT License

Downloads
1.8K
Stars
7
Committers
4

Angular CLI Stylelint builder

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