Skip to content

Commit

Permalink
Removing outdated eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
IanWoodard committed Mar 18, 2024
1 parent 9ebed31 commit bbc2a32
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"@typescript-eslint/prefer-function-type": "warn",
"@typescript-eslint/prefer-includes": "error",
"@typescript-eslint/prefer-string-starts-ends-with": "error",
"@typescript-eslint/promise-function-async": "error",
"@typescript-eslint/require-array-sort-compare": "error",
"@typescript-eslint/restrict-plus-operands": "error",
"semi": "off",
Expand Down
3 changes: 1 addition & 2 deletions src/wait.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// eslint-disable-next-line require-await
export async function wait(milliseconds: number): Promise<string> {
export function wait(milliseconds: number): Promise<string> {
return new Promise(resolve => {
if (isNaN(milliseconds)) {
throw new Error('milliseconds not a number');
Expand Down

0 comments on commit bbc2a32

Please sign in to comment.