From a8121ef071796dbe2438ae76c4728d3e9bc95187 Mon Sep 17 00:00:00 2001 From: Tokyo Date: Wed, 17 Jan 2024 21:50:43 +0000 Subject: [PATCH] fin --- package.json | 2 +- rules/react.js | 1 - yarn.lock | 15 ++++----------- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index b3d6552..9c005de 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-react": "^7.30.0", "eslint-plugin-react-hooks": "^4.5.0", - "eslint-plugin-react-hooks-docs": "^0.0.2", + "eslint-plugin-react-hooks-docs": "^0.0.3", "eslint-plugin-react-perf": "^3.3.0", "in-publish": "^2.0.1", "react": ">= 0.13.0", diff --git a/rules/react.js b/rules/react.js index c071f68..25d752d 100644 --- a/rules/react.js +++ b/rules/react.js @@ -20,6 +20,5 @@ module.exports = { namedComponents: 'arrow-function', }, ], - 'react-hooks-docs/docs': 2, }, }; diff --git a/yarn.lock b/yarn.lock index 053d911..6bc75f3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2077,12 +2077,10 @@ eslint-plugin-jsx-a11y@^6.5.1: language-tags "^1.0.5" minimatch "^3.0.4" -eslint-plugin-react-hooks-docs@^0.0.2: - version "0.0.2" - resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks-docs/-/eslint-plugin-react-hooks-docs-0.0.2.tgz#8d8cec68395f956b7bb0d5c2df48ff225fed0d7e" - integrity sha512-d/1+Qb4CBTzZB1NCikBSC7hI20+qb7rzc7KMqfyaWrVQ5XjtwGa/w68rcaO/SwfCuauQ1qhZlNnzdw9yiWDn8w== - dependencies: - requireindex "~1.2.0" +eslint-plugin-react-hooks-docs@^0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks-docs/-/eslint-plugin-react-hooks-docs-0.0.3.tgz#34d08b166bf30a9d095e63031e9989174a9cf140" + integrity sha512-YJu6rzVPifNb46SVnmyAbC4rX7pDdkGexRCc6f8zxyzrn+w4IMwSBHvjs8UOh38zS98VkoyhUtkSL5vdI1NXjg== eslint-plugin-react-hooks@^4.5.0: version "4.6.0" @@ -3766,11 +3764,6 @@ require-main-filename@^1.0.1: resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" integrity sha512-IqSUtOVP4ksd1C/ej5zeEh/BIP2ajqpn8c5x+q99gvcIG/Qf0cud5raVnE/Dwd0ua9TXYDoDc0RE5hBSdz22Ug== -requireindex@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/requireindex/-/requireindex-1.2.0.tgz#3463cdb22ee151902635aa6c9535d4de9c2ef1ef" - integrity sha512-L9jEkOi3ASd9PYit2cwRfyppc9NoABujTP8/5gFcbERmo5jUoAKovIC3fsF17pkTnGsrByysqX+Kxd2OTNI1ww== - resolve-from@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"