Skip to content

Commit c9cabff

Browse files
committed
docs: Add README.md
1 parent 1c0f9c3 commit c9cabff

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# stylelint-config-airbnb
2+
3+
> Airbnb shareable config for stylelint.
4+
5+
## Installation
6+
7+
```console
8+
$ npm install stylelint-config-airbnb
9+
```
10+
11+
## Usage
12+
13+
Set your stylelint config to:
14+
15+
```json
16+
{
17+
"extends": "stylelint-config-airbnb"
18+
}
19+
```
20+
21+
### Extending the config
22+
23+
Simply add a `"rules"` key to your config and add your overrides there.
24+
25+
For example, to change the `indentation` to tabs:
26+
27+
28+
```json
29+
{
30+
"extends": "stylelint-config-airbnb",
31+
"rules": {
32+
"indentation": "tab"
33+
}
34+
}
35+
```
36+
37+
## [Changelog](CHANGELOG.md)
38+
39+
## [License](LICENSE)

0 commit comments

Comments
 (0)