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

ci: knip #730

Merged
merged 3 commits into from
Sep 15, 2023
Merged

ci: knip #730

merged 3 commits into from
Sep 15, 2023

Conversation

kanadgupta
Copy link
Member

@kanadgupta kanadgupta commented Sep 15, 2023

🚥 Resolves RM-8001

🧰 Changes

Brings in knip to help us identify code/package excess.

🧬 QA & Testing

Does everything pass?

@@ -6,7 +6,7 @@
"build": "npx lerna run build --stream",
"build-docs": "node bin/build-markdown.js",
"clean": "npx lerna clean",
"lint": "npm run lint:types; npm run lint:js; npm run prettier",
"lint": "knip && npm run lint:types && npm run lint:js && npm run prettier",
Copy link
Member Author

Choose a reason for hiding this comment

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

the commands before the semicolons weren't throwing properly failed 😬

@kanadgupta kanadgupta added the refactor Issues about tackling technical debt label Sep 15, 2023
@kanadgupta kanadgupta marked this pull request as ready for review September 15, 2023 20:49
@@ -95,15 +94,6 @@ describe('httpsnippet-client-api', () => {
let consoleStub;

beforeEach(async () => {
try {
Copy link
Member

Choose a reason for hiding this comment

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

Did Knip find this or you?

Copy link
Member Author

Choose a reason for hiding this comment

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

it flagged rimraf so sort of!

Copy link
Member

Choose a reason for hiding this comment

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

dang

@kanadgupta kanadgupta merged commit be87af5 into main Sep 15, 2023
5 checks passed
@kanadgupta kanadgupta deleted the knip branch September 15, 2023 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Issues about tackling technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants