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

feat(rome_analyze): noUnusedTemplateLiteral #2653

Merged
merged 15 commits into from
Jun 13, 2022

Conversation

IWANABETHATGUY
Copy link
Contributor

@IWANABETHATGUY IWANABETHATGUY commented Jun 4, 2022

Summary

  1. add new analysis rule noUnusedTemplateLiteral
  2. Resolved 📎 noUnusedTemplateLiteral #2654
  3. https://github.com/rome/tools/blob/archived-js/website/src/docs/lint/rules/js/noUnusedTemplateLiteral.md

Test Plan

  1. should pass new test file noUnusedTemplateLiteral.js

@ematipico ematipico changed the title feat/(rome_analyze): noUnusedTemplateLiteral rule feat(rome_analyze): noUnusedTemplateLiteral Jun 4, 2022
IWANABETHATGUY and others added 4 commits June 6, 2022 20:36
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
…HATGUY/tools into feat/no_unused_template_literal
Copy link
Contributor

@ematipico ematipico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. You need to run the codegen command: https://github.com/rome/tools/blob/main/CONTRIBUTING.md#cargo-codegen-analyzer

@IWANABETHATGUY
Copy link
Contributor Author

Done

@IWANABETHATGUY
Copy link
Contributor Author

@ematipico , This pull request has been approved three days long, could it be merged?

@ematipico
Copy link
Contributor

I leave the merging to @leops because he's still working on the internal infrastructure.

@ematipico ematipico requested a review from leops June 13, 2022 15:04
Copy link
Contributor

@leops leops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The diagnostics just need to be updated to the latest changes and we'll be able to merge it

@leops leops merged commit 8426e5b into rome:main Jun 13, 2022
IWANABETHATGUY added a commit to IWANABETHATGUY/tools that referenced this pull request Jun 15, 2022
* feat: 🎸 no_unsed_template_literal

* test: 💍 pass test case

* test: 💍 add more testcase

* Update crates/rome_analyze/src/analyzers/no_unused_template_literal.rs

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Update crates/rome_analyze/src/analyzers/no_unused_template_literal.rs

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* fix: 🐛 address cr

* chore: 🤖 fix

 compile error

* style: 💄 fmt

* chore: 🤖 what

* chore: 🤖 merge main

* chore: 🤖 merge main

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

📎 noUnusedTemplateLiteral
3 participants