/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
status
packages/eslint-plugin-react-hooks/src/index.js
16 строк
391 B
Dan Abramov
Add eslint-plugin-react-hooks/exhaustive-deps rule to check stale closure dependencies (#14636)
20 фев 2019, 21:18
Не верифицирован
20 фев 2019, 21:18
dab2fdb
Код
Авторство
О чём код?
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; import RuleOfHooks from './RulesOfHooks'; import ExhaustiveDeps from './ExhaustiveDeps'; export const rules = { 'rules-of-hooks': RuleOfHooks, 'exhaustive-deps': ExhaustiveDeps, };