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