Skip to content

Commit 8b79dc5

Browse files
committed
fix lint issues
1 parent 7b2a12c commit 8b79dc5

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"docs": "typedoc",
2121
"exports:check": "api-extractor run --verbose",
2222
"exports:update": "api-extractor run --verbose --local",
23-
"fix": "eslint --max-warnings 0 src --fix src && prettier --write src test",
23+
"fix": "eslint --max-warnings 0 src --fix && prettier --write src test",
2424
"lint": "eslint --max-warnings 0 src && prettier --check src test",
2525
"test": "npm run test:unit && npm run test:integration",
2626
"test:integration": "tsc && mocha test/**/*.spec.ts",

src/core/SupportCodeBuilder.ts

+3-9
Original file line numberDiff line numberDiff line change
@@ -50,29 +50,23 @@ export class SupportCodeBuilder {
5050

5151
constructor(private readonly newId: () => string) {}
5252

53-
registerParameterType(
54-
options: Omit<RegisteredParameterType, 'id'>
55-
): SupportCodeBuilder {
53+
registerParameterType(options: Omit<RegisteredParameterType, 'id'>): SupportCodeBuilder {
5654
this.parameterTypes.push({
5755
id: this.newId(),
5856
...options,
5957
})
6058
return this
6159
}
6260

63-
registerBeforeHook(
64-
options: Omit<RegisteredHook, 'id'>
65-
): SupportCodeBuilder {
61+
registerBeforeHook(options: Omit<RegisteredHook, 'id'>): SupportCodeBuilder {
6662
this.beforeHooks.push({
6763
id: this.newId(),
6864
...options,
6965
})
7066
return this
7167
}
7268

73-
registerAfterHook(
74-
options: Omit<RegisteredHook, 'id'>
75-
): SupportCodeBuilder {
69+
registerAfterHook(options: Omit<RegisteredHook, 'id'>): SupportCodeBuilder {
7670
this.afterHooks.push({
7771
id: this.newId(),
7872
...options,

0 commit comments

Comments
 (0)