Skip to content

Commit

Permalink
build(deps-dev): bump the npm-deps group with 4 updates (#5809)
Browse files Browse the repository at this point in the history
* build(deps-dev): bump the npm-deps group with 4 updates

Bumps the npm-deps group with 4 updates: [eslint](https://github.com/eslint/eslint), [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc), [puppeteer](https://github.com/puppeteer/puppeteer) and [undici-types](https://github.com/nodejs/undici).


Updates `eslint` from 9.8.0 to 9.9.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v9.8.0...v9.9.0)

Updates `eslint-plugin-jsdoc` from 48.11.0 to 50.0.1
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](gajus/eslint-plugin-jsdoc@v48.11.0...v50.0.1)

Updates `puppeteer` from 22.15.0 to 23.0.2
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](puppeteer/puppeteer@puppeteer-v22.15.0...puppeteer-v23.0.2)

Updates `undici-types` from 6.19.5 to 6.19.6
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v6.19.5...v6.19.6)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-deps
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm-deps
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm-deps
- dependency-name: undici-types
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-deps
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix

* fix

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Roma Sosnovsky <[email protected]>
  • Loading branch information
dependabot[bot] and sosnovsky authored Aug 12, 2024
1 parent 9f635de commit 308b444
Show file tree
Hide file tree
Showing 6 changed files with 282 additions and 294 deletions.
3 changes: 2 additions & 1 deletion eslint-local-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ module.exports = {
if (propertyName === 'forEach' || propertyName === 'each') {
context.report({ node, message: DO_NOT_USE_EACH });
} else if (propertyName === 'map') {
const ancestors = context.getAncestors();
const sourceCode = context.sourceCode ?? context.getSourceCode();
const ancestors = sourceCode.getAncestors ? sourceCode.getAncestors(node) : context.getAncestors();
const parent = ancestors[ancestors.length - 1];
if (parent && parent.type === 'ExpressionStatement') {
context.report({ node, message: DO_NOT_USE_MAP_EXPR_STMT });
Expand Down
19 changes: 10 additions & 9 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ const commonConfig = {
'@typescript-eslint/no-unused-vars': ['error'],
'@typescript-eslint/no-unused-expressions': 'error',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-var-requires': 'error',
'@typescript-eslint/prefer-for-of': 'error',
'@typescript-eslint/prefer-function-type': 'error',
'@typescript-eslint/prefer-namespace-keyword': 'error',
Expand Down Expand Up @@ -151,20 +150,22 @@ const commonConfig = {
radix: 'off',
'require-atomic-updates': 0,
'sort-imports': 'off',
'spaced-comment': [
'error',
'always',
{
markers: ['/'],
},
],
'local-rules/standard-loops': 'error',
},
};

export default [
{
ignores: ['extension/types/**', 'extension/js/common/core/types/**', 'test/source/core/types/**', 'build/**', 'extension/lib/**', 'eslint.config.js'],
ignores: [
'build/**',
'conf/**',
'eslint.config.mjs',
'eslint-local-rules.js',
'extension/lib/**',
'extension/types/**',
'extension/js/common/core/types/**',
'test/source/core/types/**',
],
},
pluginJs.configs.recommended,
...tseslint.configs.strictTypeChecked,
Expand Down
Loading

0 comments on commit 308b444

Please sign in to comment.