Skip to content

Commit

Permalink
feat(react): remove jsx-no-bind rule
Browse files Browse the repository at this point in the history
This rule means well but the reality is that it's very convenient to use arrow functions inline and
the performance impact is hotly debated which is a sign that it's at best very situational.
  • Loading branch information
G-Rath committed Dec 6, 2024
1 parent 7b741fe commit 68f6bb9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion react.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const generateConfig = () => {
'react/jsx-filename-extension': ['warn', { extensions: ['.tsx', '.jsx'] }],
'react/jsx-fragments': 'error',
'react/jsx-handler-names': 'error',
'react/jsx-no-bind': 'warn',
'react/jsx-no-script-url': 'error',
'react/jsx-no-useless-fragment': 'error',
'react/jsx-pascal-case': 'error',
Expand Down

0 comments on commit 68f6bb9

Please sign in to comment.