Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(linter): Implement jsdoc/check-access #2642

Merged
merged 17 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'origin' into plugin-jsdoc/check-access
  • Loading branch information
leaysgur committed Mar 13, 2024
commit 117602593adf3abe3d298da8d52116a74ab21701
5 changes: 5 additions & 0 deletions crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,10 @@ mod jsdoc {
pub mod check_access;
}

mod tree_shaking {
pub mod no_side_effects_in_initialization;
}

oxc_macros::declare_all_lint_rules! {
deepscan::bad_array_method_on_arguments,
deepscan::bad_bitwise_operator,
Expand Down Expand Up @@ -630,4 +634,5 @@ oxc_macros::declare_all_lint_rules! {
nextjs::no_unwanted_polyfillio,
nextjs::no_before_interactive_script_outside_document,
jsdoc::check_access,
tree_shaking::no_side_effects_in_initialization,
}
2 changes: 1 addition & 1 deletion crates/oxc_semantic/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub use petgraph;
pub use builder::{SemanticBuilder, SemanticBuilderReturn};
use class::ClassTable;
pub use jsdoc::{JSDocFinder, JSDocTag};
use oxc_ast::{ast::IdentifierReference, AstKind, TriviasMap};
use oxc_ast::{ast::IdentifierReference, AstKind, Trivias};
use oxc_span::SourceType;
pub use oxc_syntax::{
module_record::ModuleRecord,
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.