mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
feat(linter): promote no_unsafe_optional_chaining to correctness (#6491)
It's in the eslint recommended list https://eslint.org/docs/latest/rules/no-unsafe-optional-chaining
This commit is contained in:
parent
1a93033b7b
commit
c56343d1f3
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ declare_oxc_lint!(
|
|||
/// const { bar } = obj?.foo; // TypeError
|
||||
/// ```
|
||||
NoUnsafeOptionalChaining,
|
||||
restriction // TypeScript checks optional chaining
|
||||
correctness
|
||||
);
|
||||
|
||||
impl Rule for NoUnsafeOptionalChaining {
|
||||
|
|
|
|||
Loading…
Reference in a new issue