Skip to content

Commit e0ac6a0

Browse files
authored
format files with prettier (#11)
1 parent 3015ced commit e0ac6a0

File tree

5 files changed

+13060
-13052
lines changed

5 files changed

+13060
-13052
lines changed

.babelrc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
{
2-
"presets": [
3-
"es2015",
4-
"react"
5-
]
6-
}
2+
"presets": ["es2015", "react"]
3+
}

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
# gatsby-plugin-umami
2+
23
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
4+
35
[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-)
6+
47
<!-- ALL-CONTRIBUTORS-BADGE:END -->
58

69
Easily add [Umami](https://umami.is/) to your Gatsby site.
710

811
## Install
12+
913
`npm install --save gatsby-plugin-umami`
1014

1115
## How to use
@@ -16,16 +20,16 @@ plugins: [
1620
{
1721
resolve: `gatsby-plugin-umami`,
1822
options: {
19-
websiteId: 'UMAMI_WEBSITE_ID',
20-
srcUrl: 'https://umami.example.com/umami.js',
23+
websiteId: "UMAMI_WEBSITE_ID",
24+
srcUrl: "https://umami.example.com/umami.js",
2125
includeInDevelopment: false,
2226
autoTrack: true,
2327
respectDoNotTrack: true,
2428
dataCache: false,
25-
dataDomains: 'example.com,example2.com'
29+
dataDomains: "example.com,example2.com",
2630
},
2731
},
28-
]
32+
];
2933
```
3034

3135
## Configuration
@@ -38,8 +42,6 @@ plugins: [
3842
- `dataCache` - Optional. Improves performance. Defaults to `false`
3943
- `dataDomains` - Optional. Allows tracking only on the specified domains. No default.
4044

41-
42-
4345
## Contributors ✨
4446

4547
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
@@ -60,4 +62,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
6062

6163
<!-- ALL-CONTRIBUTORS-LIST:END -->
6264

63-
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
65+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

0 commit comments

Comments
 (0)