diff --git a/package.json b/package.json index 5df6db0a..bab0f55d 100644 --- a/package.json +++ b/package.json @@ -53,10 +53,10 @@ "@rollup/plugin-babel": "5.3.0", "@rollup/plugin-commonjs": "21.0.0", "@rollup/plugin-node-resolve": "13.0.5", - "@typescript-eslint/eslint-plugin": "4.33.0", - "@typescript-eslint/parser": "4.33.0", + "@typescript-eslint/eslint-plugin": "5.1.0", + "@typescript-eslint/parser": "5.1.0", "babel-plugin-add-module-exports": "1.0.4", - "eslint": "7.32.0", + "eslint": "8.0.1", "eslint-config-google": "0.14.0", "fancy-log": "1.3.3", "fs-extra": "10.0.0", diff --git a/scripts/lint/index.js b/scripts/lint/index.js index 2e00c859..e9a0b30b 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 < 8) { + if (major < 12) { log.debug(`Skipping ESLint because of node version compatibility (currenly in used: ${nodeVersion})`); return Promise.resolve(); }