Skip to content

Commit

Permalink
feat(linter): promote no_unsafe_optional_chaining to correctness (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Oct 13, 2024
1 parent 1a93033 commit c56343d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ declare_oxc_lint!(
/// const { bar } = obj?.foo; // TypeError
/// ```
NoUnsafeOptionalChaining,
restriction // TypeScript checks optional chaining
correctness
);

impl Rule for NoUnsafeOptionalChaining {
Expand Down

0 comments on commit c56343d

Please sign in to comment.