1
0
mirror of https://github.com/thangisme/notes.git synced 2024-06-12 03:00:51 +00:00
notes/node_modules/stylelint/lib/rules/selector-type-case/README.md

58 lines
549 B
Markdown
Raw Normal View History

2017-03-09 18:16:08 +00:00
# selector-type-case
Specify lowercase or uppercase for type selectors.
```css
a {}
/** ↑
* This is type selector */
```
## Options
`string`: `"lower"|"upper"`
### `"lower"`
The following patterns are considered warnings:
```css
A {}
```
```css
LI {}
```
The following patterns are *not* considered warnings:
```css
a {}
```
```css
li {}
```
### `"upper"`
The following patterns are considered warnings:
```css
a {}
```
```css
li {}
```
The following patterns are *not* considered warnings:
```css
A {}
```
```css
LI {}
```