Skip to content

Commit

Permalink
chore(deps): update linting
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Jul 11, 2024
1 parent 4c36464 commit 50954f0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable promise/prefer-await-to-then */

// TODO: Get inspired by Matteos https://github.com/mcollina/hwp/blob/main/index.js, eg AbortController is nice?
// TODO: Check docs here https://tc39.es/ecma262/#sec-operations-on-iterator-objects
// TODO: Look into https://tc39.es/ecma262/#sec-iteratorclose / https://tc39.es/ecma262/#sec-asynciteratorclose
Expand Down Expand Up @@ -168,6 +170,7 @@ export function bufferedAsyncMap (input, callback, options) {
};
}

// eslint-disable-next-line promise/no-callback-in-promise
const callbackResult = callback(result.value);
const isSubIterator = isAsyncIterable(callbackResult);

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
"@types/node": "^18.19.39",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.12",
"@voxpelli/eslint-config": "^20.0.0-beta.3",
"@voxpelli/eslint-config": "^20.0.0-beta.6",
"@voxpelli/tsconfig": "^12.0.1",
"c8": "^10.1.2",
"chai": "^4.4.1",
"chai-as-promised": "^7.1.1",
"chai-quantifiers": "^1.0.18",
"eslint": "^9.5.0",
"eslint": "^9.6.0",
"husky": "^9.0.11",
"installed-check": "^9.3.0",
"knip": "^5.22.3",
Expand Down
2 changes: 2 additions & 0 deletions test/return.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable promise/prefer-await-to-then */

import chai from 'chai';
import chaiAsPromised from 'chai-as-promised';
import chaiQuantifiers from 'chai-quantifiers';
Expand Down
2 changes: 2 additions & 0 deletions test/values.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable promise/prefer-await-to-then */

import chai from 'chai';
import chaiAsPromised from 'chai-as-promised';
import chaiQuantifiers from 'chai-quantifiers';
Expand Down

0 comments on commit 50954f0

Please sign in to comment.