Skip to content

tools: add `prefer-proto` rule

Rodrigo Muino Tomonari requested to merge github/fork/ljharb/prefer-proto into main

If this lands, I'd be happy to refactor this rule to a prefer-syntax rule, which also checks for things like ObjectAssign with a literal as the first argument, use of Boolean(x) instead of !!x, etc.

Merge request reports

Loading