You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[async-server-action](docs/rules/async-server-action.md)| Require functions with the `use server` directive to be async | ☑️ || 🔧 |||
296
297
|[boolean-prop-naming](docs/rules/boolean-prop-naming.md)| Enforces consistent naming for boolean props ||||||
297
298
|[button-has-type](docs/rules/button-has-type.md)| Disallow usage of `button` elements without an explicit `type` attribute ||||||
298
299
|[checked-requires-onchange-or-readonly](docs/rules/checked-requires-onchange-or-readonly.md)| Enforce using `onChange` or `readonly` attribute when `checked` is used ||||||
Copy file name to clipboardExpand all lines: docs/rules/async-server-action.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
💼 This rule is enabled in the ☑️ `recommended`[config](https://github.com/jsx-eslint/eslint-plugin-react/#shareable-configs).
4
4
5
+
🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).
6
+
5
7
<!-- end auto-generated rule header -->
6
8
7
9
Require Server Actions (functions with the `use server` directive) to be async, as mandated by the `use server`[spec](https://react.dev/reference/react/use-server).
0 commit comments