Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency prettier to v3 #583

Merged
merged 636 commits into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
636 commits
Select commit Hold shift + click to select a range
33add2e
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
085ec88
style: prettier
Jul 5, 2023
c0daff5
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
43734e0
style: prettier
Jul 5, 2023
d919fb8
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
83a2487
style: prettier
Jul 5, 2023
58f525b
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
ea9e99b
style: prettier
Jul 5, 2023
25583e7
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
c14c077
style: prettier
Jul 5, 2023
5399439
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
90c546b
style: prettier
Jul 5, 2023
72d94ed
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
a244124
style: prettier
Jul 5, 2023
47313d9
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
7f83a1a
style: prettier
Jul 5, 2023
2ac2601
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
f66f1ad
style: prettier
Jul 5, 2023
1c62e89
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
7b7aa8d
style: prettier
Jul 5, 2023
ec62d6d
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
718f7b5
style: prettier
Jul 5, 2023
ca563b7
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
22d7a1b
style: prettier
Jul 5, 2023
c89bb07
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
c97d664
style: prettier
Jul 5, 2023
41daafa
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
558c5a9
style: prettier
Jul 5, 2023
5207a60
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
ebbc855
style: prettier
Jul 5, 2023
438d43e
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
e0f4628
style: prettier
Jul 5, 2023
444427f
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
bc30349
style: prettier
Jul 5, 2023
0b57202
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
1e9322a
style: prettier
Jul 5, 2023
e98c69d
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
376f6b1
style: prettier
Jul 5, 2023
acedc42
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
f1c23e8
style: prettier
Jul 5, 2023
de54abd
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
815a064
style: prettier
Jul 5, 2023
b8004f0
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
3291d7d
style: prettier
Jul 5, 2023
1cf6307
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
6e56cf4
style: prettier
Jul 5, 2023
0d09481
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
d419687
style: prettier
Jul 5, 2023
ca4c5d9
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
7819294
style: prettier
Jul 5, 2023
a11550a
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
2b13d5b
style: prettier
Jul 5, 2023
cb9620c
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
89fa6c5
style: prettier
Jul 5, 2023
8878004
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
9915b68
style: prettier
Jul 5, 2023
cd3770c
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
3bb4de6
style: prettier
Jul 5, 2023
4ad0e19
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
bb7f5f0
style: prettier
Jul 5, 2023
c44fa60
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
f254cc0
style: prettier
Jul 5, 2023
606e631
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
a7b0ad0
style: prettier
Jul 5, 2023
635b9a9
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
f7f5317
style: prettier
Jul 5, 2023
0418539
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
019808b
style: prettier
Jul 5, 2023
572f156
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
a2d82ce
style: prettier
Jul 5, 2023
f261bf2
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
eaeff18
style: prettier
Jul 5, 2023
4449019
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
978c48b
style: prettier
Jul 5, 2023
d5de278
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
b0940ce
style: prettier
Jul 5, 2023
a5ba120
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
a664956
style: prettier
Jul 5, 2023
a37b938
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
fddc228
style: prettier
Jul 5, 2023
b4c2b45
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
2e4479f
style: prettier
Jul 5, 2023
68717b6
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
6d03491
style: prettier
Jul 5, 2023
e2a1c3e
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
fbc6f33
style: prettier
Jul 5, 2023
fbf9a69
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
ff38622
style: prettier
Jul 5, 2023
43bc199
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
9351341
style: prettier
Jul 5, 2023
7015257
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
774904f
style: prettier
Jul 5, 2023
0e43997
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
4c6fbc8
style: prettier
Jul 5, 2023
b45152d
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
6e70989
style: prettier
Jul 5, 2023
57a5bbd
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
3b39c33
style: prettier
Jul 5, 2023
cc7f810
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
d480667
style: prettier
Jul 5, 2023
98d59c1
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
d2464fe
style: prettier
Jul 5, 2023
255c5c3
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
c7c227e
style: prettier
Jul 5, 2023
38b607d
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
f07d828
style: prettier
Jul 5, 2023
4d0bebb
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
2dffb74
style: prettier
Jul 5, 2023
38ecfaa
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
20a4a14
style: prettier
Jul 5, 2023
6cdfb1d
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
e7baf2d
style: prettier
Jul 5, 2023
e0e9351
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
d8153b6
style: prettier
Jul 5, 2023
af216e5
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
d8ba063
style: prettier
Jul 5, 2023
6ffb2a7
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
ce45de6
style: prettier
Jul 5, 2023
a7f9657
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
9fa1225
style: prettier
Jul 5, 2023
cd23cbd
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
0589752
style: prettier
Jul 5, 2023
7f78a83
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
a813d01
style: prettier
Jul 5, 2023
90d957e
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
93fe878
style: prettier
Jul 5, 2023
28fc241
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
44856a1
style: prettier
Jul 5, 2023
1cbdf16
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
4d0926a
style: prettier
Jul 5, 2023
5ea6050
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
26f2612
style: prettier
Jul 5, 2023
8a15509
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
496566f
style: prettier
Jul 5, 2023
7dadbd5
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
27f86d2
style: prettier
Jul 5, 2023
55f017b
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
f023e9d
style: prettier
Jul 5, 2023
27c3247
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
84d9865
style: prettier
Jul 5, 2023
0e6a0eb
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
b359064
style: prettier
Jul 5, 2023
db5f7bf
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
740aa10
style: prettier
Jul 5, 2023
9b46013
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
610c5be
style: prettier
Jul 5, 2023
bdb5c2f
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
907a65e
style: prettier
Jul 5, 2023
c41b0de
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
dc6bc36
style: prettier
Jul 5, 2023
fc7a9c5
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
3af5c02
style: prettier
Jul 5, 2023
a7830d2
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
f7aebf6
style: prettier
Jul 5, 2023
4beb146
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
6eb7247
style: prettier
Jul 5, 2023
036d65f
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
1f75ea6
style: prettier
Jul 5, 2023
a7f38d0
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
846954a
style: prettier
Jul 5, 2023
f96137e
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
c9370ab
style: prettier
Jul 5, 2023
b9a1c1e
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
228d400
style: prettier
Jul 5, 2023
a88bd42
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
6326b68
style: prettier
Jul 5, 2023
c40c95f
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
47c2604
style: prettier
Jul 5, 2023
8fc087d
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
f65ceea
style: prettier
Jul 5, 2023
70faf91
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
e243e48
style: prettier
Jul 5, 2023
b651019
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
da7399d
style: prettier
Jul 5, 2023
d43d5f8
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
8c0238d
style: prettier
Jul 5, 2023
69e1566
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
1b76158
style: prettier
Jul 5, 2023
2cf49ec
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
b7a08aa
style: prettier
Jul 5, 2023
fd4374e
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
4ab78b0
style: prettier
Jul 5, 2023
fe001fc
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
182ca6e
style: prettier
Jul 5, 2023
945dd2a
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
f844d57
style: prettier
Jul 5, 2023
6ab7a3b
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
455b3d2
style: prettier
Jul 5, 2023
4c9b8d6
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
d89b8b7
style: prettier
Jul 5, 2023
5f7d680
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
f613b48
style: prettier
Jul 5, 2023
27608f3
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
d36d481
style: prettier
Jul 5, 2023
3e59ff5
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
1bb9d73
style: prettier
Jul 5, 2023
c52857d
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
60674ff
style: prettier
Jul 5, 2023
091d247
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
34040c6
style: prettier
Jul 5, 2023
f001695
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
5e1914c
style: prettier
Jul 5, 2023
2fffcdf
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
57431f6
style: prettier
Jul 5, 2023
2aa02ba
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
12d0f7d
style: prettier
Jul 5, 2023
f44f70b
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
bdd5e68
style: prettier
Jul 5, 2023
ac59694
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
e3e0313
style: prettier
Jul 5, 2023
8f5ce0a
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
0513109
style: prettier
Jul 5, 2023
ed5b7da
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
70c4bca
style: prettier
Jul 5, 2023
402098a
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
daa5678
style: prettier
Jul 5, 2023
df78f8c
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
1afe544
style: prettier
Jul 5, 2023
5414758
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
f4010f4
style: prettier
Jul 5, 2023
494e078
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
3e1ec4d
style: prettier
Jul 5, 2023
c1c3d65
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
105fffb
style: prettier
Jul 5, 2023
a995988
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
3942fc4
style: prettier
Jul 5, 2023
5f786ef
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
66eb0c7
style: prettier
Jul 5, 2023
411e02a
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
ee6e96c
style: prettier
Jul 5, 2023
c318fae
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
08447f6
style: prettier
Jul 5, 2023
c497fda
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
e4db5d3
style: prettier
Jul 5, 2023
b42218b
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
c9fa8cf
style: prettier
Jul 5, 2023
f310bb9
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
b709f37
style: prettier
Jul 5, 2023
e4cab68
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
5ea5a92
style: prettier
Jul 5, 2023
82bbe39
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
aeb5275
style: prettier
Jul 5, 2023
95a3d79
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
312003e
style: prettier
Jul 5, 2023
34c4edf
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
2a100f5
style: prettier
Jul 5, 2023
de5dca1
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
19202ba
style: prettier
Jul 5, 2023
61390aa
docs: update ToC for README.md
prettier-toc-me[bot] Jul 5, 2023
9fff893
Last word on trailing comma
kfcampbell Jul 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const response = await octokit.graphql(
}
}
}`,
{ login: "octokit" }
{ login: "octokit" },
);
```

Expand Down Expand Up @@ -425,7 +425,7 @@ const { Octokit } = require("@octokit/core");
const MyActionOctokit = Octokit.plugin(
require("@octokit/plugin-paginate-rest").paginateRest,
require("@octokit/plugin-throttling").throttling,
require("@octokit/plugin-retry").retry
require("@octokit/plugin-retry").retry,
).defaults({
throttle: {
onAbuseLimit: (retryAfter, options) => {
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"http-proxy-agent": "^7.0.0",
"jest": "^29.0.0",
"lolex": "^6.0.0",
"prettier": "2.8.8",
"prettier": "3.0.0",
"proxy": "^2.0.0",
"semantic-release": "^21.0.0",
"semantic-release-plugin-update-version-in-files": "^1.0.0",
Expand Down
16 changes: 8 additions & 8 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class Octokit {
static VERSION = VERSION;
static defaults<S extends Constructor<any>>(
this: S,
defaults: OctokitOptions | Function
defaults: OctokitOptions | Function,
) {
const OctokitWithDefaults = class extends this {
constructor(...args: any[]) {
Expand All @@ -40,8 +40,8 @@ export class Octokit {
? {
userAgent: `${options.userAgent} ${defaults.userAgent}`,
}
: null
)
: null,
),
);
}
};
Expand All @@ -58,12 +58,12 @@ export class Octokit {
*/
static plugin<
S extends Constructor<any> & { plugins: any[] },
T extends OctokitPlugin[]
T extends OctokitPlugin[],
>(this: S, ...newPlugins: T) {
const currentPlugins = this.plugins;
const NewOctokit = class extends this {
static plugins = currentPlugins.concat(
newPlugins.filter((plugin) => !currentPlugins.includes(plugin))
newPlugins.filter((plugin) => !currentPlugins.includes(plugin)),
);
};

Expand Down Expand Up @@ -115,7 +115,7 @@ export class Octokit {
warn: console.warn.bind(console),
error: console.error.bind(console),
},
options.log
options.log,
);
this.hook = hook;

Expand Down Expand Up @@ -152,8 +152,8 @@ export class Octokit {
octokit: this,
octokitOptions: otherOptions,
},
options.auth
)
options.auth,
),
);
// @ts-ignore ¯\_(ツ)_/¯
hook.wrap("request", auth.hook);
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type AnyFunction = (...args: any) => any;

export type OctokitPlugin = (
octokit: Octokit,
options: OctokitOptions
options: OctokitOptions,
) => { [key: string]: any } | void;

export type Hooks = {
Expand Down
2 changes: 1 addition & 1 deletion test/agent-ca/agent-ca-test.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe("custom client certificate", () => {
response.writeHead(200);
response.write("ok");
response.end();
}
},
);

server.listen(0, done);
Expand Down
24 changes: 12 additions & 12 deletions test/auth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ describe("Authentication", () => {
authorization: "token secret123",
"user-agent": userAgent,
},
}
},
);

const octokit = new Octokit({
Expand All @@ -98,7 +98,7 @@ describe("Authentication", () => {
authorization: "token secret123",
"user-agent": userAgent,
},
}
},
);

const octokit = new Octokit({
Expand All @@ -121,7 +121,7 @@ describe("Authentication", () => {
authorization: "token secret123",
"user-agent": userAgent,
},
}
},
);

const octokit = new Octokit({
Expand All @@ -146,7 +146,7 @@ describe("Authentication", () => {
authorization: `bearer ${BEARER_TOKEN}`,
"user-agent": userAgent,
},
}
},
);

const octokit = new Octokit({
Expand Down Expand Up @@ -179,7 +179,7 @@ describe("Authentication", () => {
code: CODE,
state: STATE,
},
}
},
);

const MyOctokit = Octokit.defaults({
Expand Down Expand Up @@ -224,7 +224,7 @@ describe("Authentication", () => {
authorization: "token secret123",
},
repeat: 2,
}
},
)
.getOnce(
"https://api.github.com/app",
Expand All @@ -235,7 +235,7 @@ describe("Authentication", () => {
"user-agent": userAgent,
authorization: `bearer ${BEARER}`,
},
}
},
);

const octokit = new Octokit({
Expand Down Expand Up @@ -272,7 +272,7 @@ describe("Authentication", () => {
authorization: `token githubtoken123`,
"user-agent": userAgent,
},
}
},
);
const currentEnv = process.env;
process.env = {
Expand Down Expand Up @@ -321,7 +321,7 @@ describe("Authentication", () => {
metadata: "read",
},
repository_selection: "all",
}
},
)
.postOnce(
"https://fake.github-enterprise.com/api/graphql",
Expand All @@ -330,7 +330,7 @@ describe("Authentication", () => {
headers: {
authorization: "token secret123",
},
}
},
);

const octokit = new Octokit({
Expand Down Expand Up @@ -366,7 +366,7 @@ describe("Authentication", () => {
.getOnce(
"https://api.github.com/repos/octokit/core.js",
{ ok: true },
{ overwriteRoutes: false }
{ overwriteRoutes: false },
);

const mockWarnLogger = jest.fn();
Expand All @@ -393,7 +393,7 @@ describe("Authentication", () => {

expect(mockWarnLogger.mock.calls.length).toBe(1);
expect(mockWarnLogger.mock.calls[0][0]).toBe(
"[@octokit/auth-app] Retrying after 401 response to account for token replication delay (retry: 1, wait: 1s)"
"[@octokit/auth-app] Retrying after 401 response to account for token replication delay (retry: 1, wait: 1s)",
);
});

Expand Down
4 changes: 2 additions & 2 deletions test/constructor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe("Smoke test", () => {
accept:
"application/vnd.github.jean-grey-preview+json,application/vnd.github.symmetra-preview+json",
},
}
},
);

const octokit = new Octokit({
Expand All @@ -37,7 +37,7 @@ describe("Smoke test", () => {
accept: "application/vnd.github.v3+json",
"time-zone": "Europe/Amsterdam",
},
}
},
);

const octokit = new Octokit({
Expand Down
14 changes: 7 additions & 7 deletions test/defaults.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe("Octokit.defaults", () => {
accept: "application/vnd.github.v3+json",
"user-agent": userAgent,
},
}
},
);

const OctokitWithDefaults = Octokit.defaults({
Expand All @@ -44,7 +44,7 @@ describe("Octokit.defaults", () => {
accept: "application/vnd.github.v3+json",
"user-agent": `my-app/1.2.3 ${userAgent}`,
},
}
},
);

const OctokitWithDefaults = Octokit.defaults({
Expand All @@ -68,7 +68,7 @@ describe("Octokit.defaults", () => {
accept: "application/vnd.github.v3+json",
"user-agent": `my-app/1.2.3 my-octokit.js/1.2.3 ${userAgent}`,
},
}
},
);

const OctokitWithDefaults = Octokit.defaults({
Expand All @@ -95,7 +95,7 @@ describe("Octokit.defaults", () => {
"user-agent": userAgent,
"time-zone": "Europe/Amsterdam",
},
}
},
);

const OctokitWithDefaults = Octokit.defaults({
Expand All @@ -120,7 +120,7 @@ describe("Octokit.defaults", () => {
authorization: `token githubtoken123`,
"user-agent": userAgent,
},
}
},
);
const currentEnv = process.env;
process.env = {
Expand Down Expand Up @@ -150,7 +150,7 @@ describe("Octokit.defaults", () => {
accept: "application/vnd.github.v3+json",
"user-agent": `my-app/1.2.3 ${userAgent}`,
},
}
},
);

const OctokitWithDefaults = Octokit.defaults({
Expand All @@ -176,7 +176,7 @@ describe("Octokit.defaults", () => {
accept: "application/vnd.github.v3+json",
"user-agent": userAgent,
},
}
},
);

const OctokitWithPluginAndDefaults = Octokit.plugin(() => {
Expand Down
2 changes: 1 addition & 1 deletion test/hook.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe("octokit.hook", () => {
.sandbox()
.getOnce(
"https://api.github.com/foo/daz/baz?qux=quux&beforeAddition=works",
{ ok: true }
{ ok: true },
);

const octokit = new Octokit({
Expand Down
Loading