Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/regru/stylelint-plugin-regru
Stylelint rules for REG.RU project
https://github.com/regru/stylelint-plugin-regru
Last synced: 29 days ago
JSON representation
Stylelint rules for REG.RU project
- Host: GitHub
- URL: https://github.com/regru/stylelint-plugin-regru
- Owner: regru
- License: mit
- Created: 2016-09-21T17:16:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-28T08:56:41.000Z (over 8 years ago)
- Last Synced: 2024-11-20T09:28:35.948Z (about 1 month ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stylelint-plugin-regru
Stylelint rules for REG.RU project
```
npm i stylelint stylelint-plugin-regru
```## function-space-quotes-inside
Add exception for `()` parens which contains ONLY string expression like:
```
//never-single-line-quotes
.block {
background: url('hello.png'); //correct
background: url( 'hello.png' ); //incorrect
}//always-single-line-quotes
.block {
background: url( 'hello.png' ); //correct
background: url('hello.png'); //incorrect
}```
```
//.stylelintrc
{
"plugins": [
"stylelint-plugin-regru"
],
"rules": {
"stylelint-plugin-regru/function-space-quotes-inside": "never-single-line-quotes"
}
}```