Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add destructuredArrayIgnorePattern to eslint config (facebook#33552)
Summary: This adds the `destructuredArrayIgnorePattern` rule [recently introduced in `typescript-eslint`](typescript-eslint/typescript-eslint#4691), making underscored identifiers in array destructurings no longer an error, e.g. ```js const [state, _dispatch] = useContext(MyContext); ``` would be acceptable if `state` is used. ## Changelog [General] [Added] - Add destructuredArrayIgnorePattern to eslint config Pull Request resolved: facebook#33552 Test Plan: Install the `react-native-community/eslint-config` package and test the example. Reviewed By: lunaleaps, cipolleschi Differential Revision: D40166101 Pulled By: ryancat fbshipit-source-id: 1e30297bf40d65e09682c4f9f3b3dd432ba5310e
- Loading branch information