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
eslint: merge no-missing-args-validator + no-args-without-validator into one rule (#42036)
This pull request merges rules `@convex-dev/no-missing-args-validator` and `@convex-dev/no-args-without-validator` into one new rule: `@convex-dev/require-argument-validators`. The rule is customizable with an option named `ignoreUnusedArguments`, that allows the user to select whether they want to tolerate functions that don’t define argument validators but don’t use arguments. This option is _disabled_ by default, i.e. we force every function to have a return validator. I also changed the rule so that it behaves correctly with the old syntax. GitOrigin-RevId: 23aaa9835fc9d0682bc680518f6263c723bb8e84
0 commit comments