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_analyzer): noSelfAssignment rule (#4091)
Browse files Browse the repository at this point in the history
* chore: step back, 1

* chore: step 2, sub structures

* chore: step 3, more tests

* chore: step 4, nested data structures

* chore: step 5, linear static member expressions

* chore: step 6, static expression -> computed

* chore: step 7, documentation

* chore: step 8, clippy

* chore: step 9, fix early return

* chore: rebase
  • Loading branch information
ematipico authored Feb 14, 2023
1 parent 35f1bf0 commit 149e800
Show file tree
Hide file tree
Showing 15 changed files with 1,791 additions and 66 deletions.
1 change: 1 addition & 0 deletions crates/rome_diagnostics_categories/src/categories.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ define_dategories! {
"lint/nursery/useYield": "https://docs.rome.tools/lint/rules/useYield",
"lint/nursery/noGlobalObjectCalls": "https://docs.rome.tools/lint/rules/noGlobalObjectCalls",
"lint/nursery/noPrototypeBuiltins": "https://docs.rome.tools/lint/rules/noPrototypeBuiltins",
"lint/nursery/noSelfAssignment": "https://docs.rome.tools/lint/rules/noSelfAssignment",
// Insert new nursery rule here

// performance
Expand Down
3 changes: 2 additions & 1 deletion crates/rome_js_analyze/src/analyzers/nursery.rs

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

Loading

0 comments on commit 149e800

Please sign in to comment.