@brightspace-ui/stylelint-config v1.3.3
stylelint-config
Common Brightspace stylelint configs.
Installation
Install the stylelint-config and stylelint.
npm i @brightspace-ui/stylelint-config
npm i stylelintUsage
Simply specify the extends property in the .stylelintrc.json file as shown below. The default config contains rules to avoid errors, and also to enforce consistent formatting.
{
"extends": "@brightspace-ui/stylelint-config"
}Then run stylelint, for example by defining a script in your package.json.
"scripts": {
"lint:style": "stylelint \"**/*.js\""
},Contributing
Contributions are welcome, please submit a pull request!
Code Style
This repository is configured with EditorConfig rules and contributions should make use of them.
Versioning and Releasing
This repo is configured to use semantic-release. Commits prefixed with fix: and feat: will trigger patch and minor releases when merged to main.
To learn how to create major releases and release from maintenance branches, refer to the semantic-release GitHub Action documentation.
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago