Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rotu committed Jun 17, 2024
1 parent d7c74e9 commit d00af4e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
12 changes: 3 additions & 9 deletions test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
{
"extends": "../tsconfig.json",
"include": [
"**/*.ts"
],
"include": ["**/*.ts"],
"compilerOptions": {
"types": [
"mocha"
],
"lib": [
"ESNext",
]
"types": ["mocha"],
"lib": ["ESNext"]
}
}
2 changes: 1 addition & 1 deletion test/unit/socket-close-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ for (const proto of testProtos("tcp", "ipc", "inproc")) {
let weakRef: undefined | WeakRef<any>

const task = async () => {
let context: zmq.Context | undefined = new zmq.Context()
const context: zmq.Context | undefined = new zmq.Context()
const socket = new zmq.Dealer({context, linger: 0})
weakRef = new WeakRef(context)

Expand Down
11 changes: 3 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
"target": "es2020",
"declaration": true,
"module": "commonjs",
"types": [
"node",
],
"types": ["node"],
"strictPropertyInitialization": false, // TODO
"strict": true,
"strictNullChecks": true,
Expand All @@ -19,9 +17,6 @@
"incremental": true,
"sourceMap": true,
"esModuleInterop": true,
"lib": [
"ES2022",
"dom"
]
"lib": ["ES2022", "dom"]
}
}
}

0 comments on commit d00af4e

Please sign in to comment.