Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Commit c4a39c2

Browse files
authored
Merge pull request #186 from netlify/chore/update_eslint_prettier
chore(deps): update eslint and prettier
2 parents 8081aea + 733cd1e commit c4a39c2

26 files changed

+391
-303
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ const sites = await client.listSites()
2525
// Create a site. Notice `body` here for sending OpenAPI body
2626
const site = await client.createSite({
2727
body: {
28-
name: `my-awesome-site`
28+
name: `my-awesome-site`,
2929
// ... https://open-api.netlify.com/#/default/createSite
30-
}
30+
},
3131
})
3232

3333
// Delete site. Notice `site_id` is a path parameter https://open-api.netlify.com/#/default/deleteSite
3434
await client.deleteSite({
35-
site_id: siteId
35+
site_id: siteId,
3636
})
3737
```
3838

@@ -113,7 +113,7 @@ async function getSomeData() {
113113
try {
114114
return await client.getSiteDeploy({
115115
siteId: '1234abcd',
116-
deploy_id: '4567'
116+
deploy_id: '4567',
117117
})
118118
} catch (e) {
119119
// handle error
@@ -146,7 +146,7 @@ See the [authenticating](https://www.netlify.com/docs/api/#authenticating) docs
146146
// example:
147147
async function login() {
148148
const ticket = await api.createTicket({
149-
clientId: CLIENT_ID
149+
clientId: CLIENT_ID,
150150
})
151151
// Open browser for authentication
152152
await openBrowser(`https://app.netlify.com/authorize?response_type=ticket&ticket=${ticket.id}`)

ava.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ export default {
22
files: ['src/**/*.test.js'],
33
compileEnhancements: false,
44
babel: false,
5-
verbose: true
5+
verbose: true,
66
}

package-lock.json

Lines changed: 195 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)