diff --git a/CHANGELOG.md b/CHANGELOG.md index 701e4c7..b88f056 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Possibility to suppress "react-hooks/exhaustive-deps" + ## [1.4.0] - 2023-07-11 ### Changed diff --git a/dist/index.js b/dist/index.js index ff306bc..2a71238 100644 --- a/dist/index.js +++ b/dist/index.js @@ -14253,6 +14253,7 @@ const allowedTsSuppressions = [ "react/jsx-props-no-spreading", "react/no-array-index-key", "react/no-unused-prop-types", + "react-hooks/exhaustive-deps", ]; const commentPrefix = "[action-check-suppressions]"; const commentSuppressionWarning = "Suppressions should not be used, please make sure with the Project Team that this suppression is ok."; diff --git a/src/index.ts b/src/index.ts index febf4ec..e91a184 100644 --- a/src/index.ts +++ b/src/index.ts @@ -28,6 +28,7 @@ const allowedTsSuppressions = [ "react/jsx-props-no-spreading", "react/no-array-index-key", "react/no-unused-prop-types", + "react-hooks/exhaustive-deps", ]; const commentPrefix = "[action-check-suppressions]"; const commentSuppressionWarning = "Suppressions should not be used, please make sure with the Project Team that this suppression is ok.";