In order to move forward with #49244 we needed to disable some rules in x-pack/legacy/plugins/index_management. We need to remove the related overrides and get the package passing these rules pretty soon.
// .eslintrc.js
{
files: ['x-pack/legacy/plugins/index_management/**/*.{js,ts,tsx}'],
rules: {
'react-hooks/exhaustive-deps': 'off',
'react-hooks/rules-of-hooks': 'off',
},
},