diff --git a/libs/form-builder/.eslintrc.json b/libs/form-builder/.eslintrc.json index 734ddac..86f9515 100644 --- a/libs/form-builder/.eslintrc.json +++ b/libs/form-builder/.eslintrc.json @@ -1,5 +1,9 @@ { - "extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], + "extends": [ + "plugin:@nrwl/nx/react", + "plugin:you-dont-need-lodash-underscore/compatible", + "../../.eslintrc.json" + ], "ignorePatterns": ["!**/*"], "overrides": [ { diff --git a/package.json b/package.json index 1fc4e03..c99e1d7 100644 --- a/package.json +++ b/package.json @@ -91,6 +91,7 @@ "eslint-plugin-jsx-a11y": "6.4.1", "eslint-plugin-react": "7.23.1", "eslint-plugin-react-hooks": "4.2.0", + "eslint-plugin-you-dont-need-lodash-underscore": "^6.12.0", "immutable-set": "^2.2.1", "jest": "27.0.3", "prettier": "2.3.1", diff --git a/yarn.lock b/yarn.lock index 9c432eb..8cda2a6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5439,6 +5439,13 @@ eslint-plugin-react@^7.23.1: semver "^6.3.0" string.prototype.matchall "^4.0.5" +eslint-plugin-you-dont-need-lodash-underscore@^6.12.0: + version "6.12.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-you-dont-need-lodash-underscore/-/eslint-plugin-you-dont-need-lodash-underscore-6.12.0.tgz#7a977c1cf4ba4d26a0484a4c4a2087221cb9bb8a" + integrity sha512-WF4mNp+k2532iswT6iUd1BX6qjd3AV4cFy/09VC82GY9SsRtvkxhUIx7JNGSe0/bLyd57oTr4inPFiIaENXhGw== + dependencies: + kebab-case "^1.0.0" + eslint-scope@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" @@ -8024,6 +8031,11 @@ jsprim@^1.2.2: array-includes "^3.1.3" object.assign "^4.1.2" +kebab-case@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/kebab-case/-/kebab-case-1.0.1.tgz#bf734fc95400a3701869215d99a902bd3fe72f60" + integrity sha512-txPHx6nVLhv8PHGXIlAk0nYoh894SpAqGPXNvbg2hh8spvHXIah3+vT87DLoa59nKgC6scD3u3xAuRIgiMqbfQ== + killable@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/killable/-/killable-1.0.1.tgz#4c8ce441187a061c7474fb87ca08e2a638194892"