From e249b117900290bf62f544999151e545ec35591c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 2 Sep 2023 14:39:50 +0200 Subject: [PATCH] chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.62.0 to 6.2.0 (#1527) * chore(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.62.0 to 6.2.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.2.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore(deps-dev): bump @typescript-eslint/eslint-parser * fix: do not lint if node <= 14 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mickael Jeanroy --- package.json | 4 ++-- scripts/lint/index.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 5394ffc4..6640a316 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@rollup/plugin-commonjs": "25.0.4", "@rollup/plugin-node-resolve": "15.2.0", "@rollup/plugin-virtual": "3.0.1", - "@typescript-eslint/eslint-plugin": "5.62.0", - "@typescript-eslint/parser": "5.62.0", + "@typescript-eslint/eslint-plugin": "6.2.0", + "@typescript-eslint/parser": "6.2.0", "babel-plugin-add-module-exports": "1.0.4", "eslint": "8.47.0", "eslint-config-google": "0.14.0", diff --git a/scripts/lint/index.js b/scripts/lint/index.js index 143989ef..72950622 100644 --- a/scripts/lint/index.js +++ b/scripts/lint/index.js @@ -30,7 +30,7 @@ const config = require('../config'); module.exports = function lint() { const nodeVersion = process.versions.node; const major = Number(nodeVersion.split('.')[0]); - if (major < 12) { + if (major <= 14) { log.debug(`Skipping ESLint because of node version compatibility (currenly in used: ${nodeVersion})`); return Promise.resolve(); }