From ccb7cda73044b45665e4b409c239c17345739b54 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Tue, 21 Jan 2025 13:08:42 +0700 Subject: [PATCH] Add `react/checked-requires-onchange-or-readonly` rule https://github.com/jsx-eslint/eslint-plugin-react/blob/v7.34.0/docs/rules/checked-requires-onchange-or-readonly.md --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 05c3351..2580131 100644 --- a/index.js +++ b/index.js @@ -27,6 +27,7 @@ export default [ }, ], 'react/button-has-type': 'error', + 'react/checked-requires-onchange-or-readonly': 'error', 'react/jsx-child-element-spacing': 'error', 'react/default-props-match-prop-types': 'error', 'react/function-component-definition': [