Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
feat(rome_js_analyze): no shadow restricted lint rule (#2975)
Browse files Browse the repository at this point in the history
* no shadow restricted lint rule
  • Loading branch information
xunilrj authored Aug 3, 2022
1 parent 26be739 commit 6af5d2b
Show file tree
Hide file tree
Showing 29 changed files with 923 additions and 87 deletions.
110 changes: 87 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ members = [
"xtask/codegen",
"xtask/coverage",
"xtask/lintdoc",
"xtask/libs_bench",
]

[profile.release-with-debug]
Expand Down
2 changes: 1 addition & 1 deletion crates/rome_analyze/src/rule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ macro_rules! impl_group_language {

impl_group_language!(
T00, T01, T02, T03, T04, T05, T06, T07, T08, T09, T10, T11, T12, T13, T14, T15, T16, T17, T18,
T19
T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29
);

/// Trait implemented by all analysis rules: declares interest to a certain AstNode type,
Expand Down
8 changes: 0 additions & 8 deletions crates/rome_js_analyze/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ edition = "2021"
authors = ["Rome Tools Developers and Contributros"]
license = "MIT"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
rome_analyze = { path = "../rome_analyze" }
rome_control_flow = { path = "../rome_control_flow" }
Expand All @@ -18,16 +16,10 @@ rome_console = { path = "../rome_console" }
rome_diagnostics = { path = "../rome_diagnostics" }
roaring = "0.9.0"
rustc-hash = "1.1.0"
iai = "0.1.1"

[dev-dependencies]
tests_macros = { path = "../tests_macros" }
rome_text_edit = { path = "../rome_text_edit" }
rome_js_parser = { path = "../rome_js_parser", features = ["tests"] }
insta = { version = "1.10.0", features = ["glob"] }
countme = { version = "3.0.0", features = ["enable"] }
case = "1.0.0"

[[bench]]
name = "iai"
harness = false
32 changes: 0 additions & 32 deletions crates/rome_js_analyze/benches/iai.rs

This file was deleted.

8 changes: 4 additions & 4 deletions crates/rome_js_analyze/src/analyzers.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion crates/rome_js_analyze/src/analyzers/js.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6af5d2b

Please sign in to comment.