Skip to content

Commit

Permalink
feat(linter): implement eslint-plugin-unicorn/no-thenable rule (#910)
Browse files Browse the repository at this point in the history
related to #684
  • Loading branch information
Devin-Yeung authored Sep 16, 2023
1 parent 540fa03 commit 4bf329e
Show file tree
Hide file tree
Showing 3 changed files with 1,068 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ mod jest {

mod unicorn {
pub mod no_instanceof_array;
pub mod no_thenable;
pub mod no_unnecessary_await;
}

Expand Down Expand Up @@ -211,6 +212,7 @@ oxc_macros::declare_all_lint_rules! {
jest::no_jasmine_globals,
unicorn::no_instanceof_array,
unicorn::no_unnecessary_await,
unicorn::no_thenable,
import::named,
import::no_cycle,
import::no_self_import,
Expand Down
Loading

0 comments on commit 4bf329e

Please sign in to comment.