From d435ca503aa4adcd1898eed08771e327953a817b Mon Sep 17 00:00:00 2001 From: Tsachi Shlidor Date: Tue, 9 Apr 2024 16:45:38 +0300 Subject: [PATCH] chore: pr comments --- .eslintrc.js | 2 +- package-lock.json | 19 +++++++++++++++++++ package.json | 1 + 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 6291a152..53dd4a46 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -6,7 +6,7 @@ module.exports = { es6: true, jest: true }, - extends: ['eslint:recommended'], + extends: ['eslint:recommended', 'plugin:you-dont-need-lodash-underscore/compatible'], parserOptions: { ecmaVersion: 'latest', sourceType: 'module' diff --git a/package-lock.json b/package-lock.json index 0628b2b6..f9045c75 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,6 +38,7 @@ "css.escape": "^1.5.1", "eslint": "^8.57.0", "eslint-plugin-jest": "^27.9.0", + "eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0", "eslint-webpack-plugin": "^4.1.0", "expose-loader": "^5.0.0", "html-webpack-plugin": "^5.6.0", @@ -7870,6 +7871,18 @@ } } }, + "node_modules/eslint-plugin-you-dont-need-lodash-underscore": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-you-dont-need-lodash-underscore/-/eslint-plugin-you-dont-need-lodash-underscore-6.14.0.tgz", + "integrity": "sha512-3zkkU/O1agczP7szJGHmisZJS/AknfVl6mb0Zqoc95dvFsdmfK+cbhrn+Ffy0UWB1pgDJwQr7kIO3rPstWs3Dw==", + "dev": true, + "dependencies": { + "kebab-case": "^1.0.0" + }, + "engines": { + "node": ">=4.0" + } + }, "node_modules/eslint-scope": { "version": "7.2.2", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", @@ -13141,6 +13154,12 @@ "node": "*" } }, + "node_modules/kebab-case": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/kebab-case/-/kebab-case-1.0.2.tgz", + "integrity": "sha512-7n6wXq4gNgBELfDCpzKc+mRrZFs7D+wgfF5WRFLNAr4DA/qtr9Js8uOAVAfHhuLMfAcQ0pRKqbpjx+TcJVdE1Q==", + "dev": true + }, "node_modules/keycode": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/keycode/-/keycode-2.2.0.tgz", diff --git a/package.json b/package.json index d496e704..e579aa47 100644 --- a/package.json +++ b/package.json @@ -107,6 +107,7 @@ "css.escape": "^1.5.1", "eslint": "^8.57.0", "eslint-plugin-jest": "^27.9.0", + "eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0", "eslint-webpack-plugin": "^4.1.0", "expose-loader": "^5.0.0", "html-webpack-plugin": "^5.6.0",