Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jtsang4/stylelint-config
Opinionated stylelint configs.
https://github.com/jtsang4/stylelint-config
Last synced: about 1 month ago
JSON representation
Opinionated stylelint configs.
- Host: GitHub
- URL: https://github.com/jtsang4/stylelint-config
- Owner: jtsang4
- Created: 2022-02-09T05:38:24.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-07T07:48:49.000Z (almost 3 years ago)
- Last Synced: 2024-12-11T11:42:48.883Z (2 months ago)
- Language: JavaScript
- Size: 42 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @jtsang/stylelint-config
[](https://npmjs.com/package/@jtsang/stylelint-config)
Opinionated stylelint configs.
## Usage
### Install
```bash
pnpm add -D stylelint @jtsang/stylelint-config
```### Config `.stylelintrc`
```json
{
"extends": ["@jtsang/stylelint-config"],
"ignoreFiles": ["**/node_modules/**/*"]
}
```### Config VS Code auto fix
Create `.vscode/settings.json`
```json
{
"prettier.enable": false,
"css.validate": false,
"scss.validate": false,
"less.validate": false,
"stylelint.validate": ["css", "scss", "less"],
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": true
}
}
```## License
MIT