@@ -643,6 +643,18 @@ module.exports = {
643643 // '@typescript-eslint/unbound-method': 'error',
644644 } ,
645645 } ,
646+ // {
647+ // // will introduced after the other warns are fixed
648+ // // typescript and javascript for front end react performance
649+ // files: ['x-pack/legacy/plugins/siem/public/**/!(*.test).{js,ts,tsx}'],
650+ // plugins: ['react-perf'],
651+ // rules: {
652+ // // 'react-perf/jsx-no-new-object-as-prop': 'error',
653+ // // 'react-perf/jsx-no-new-array-as-prop': 'error',
654+ // // 'react-perf/jsx-no-new-function-as-prop': 'error',
655+ // // 'react/jsx-no-bind': 'error',
656+ // },
657+ // },
646658 {
647659 // typescript and javascript for front and back end
648660 files : [ 'x-pack/legacy/plugins/siem/**/*.{js,ts,tsx}' ] ,
@@ -747,8 +759,6 @@ module.exports = {
747759 // will introduced after the other warns are fixed
748760 // 'react/sort-comp': 'error',
749761 'react/void-dom-elements-no-children' : 'error' ,
750- // will introduced after the other warns are fixed
751- // 'react/jsx-no-bind': 'error',
752762 'react/jsx-no-comment-textnodes' : 'error' ,
753763 'react/jsx-no-literals' : 'error' ,
754764 'react/jsx-no-target-blank' : 'error' ,
0 commit comments