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

Remove unused import and fix typo #668

Merged
merged 3 commits into from May 9, 2023
Merged

Conversation

hi-rustin
Copy link
Contributor

I think public/app/example.test.tsx is useless. We don't have any tests now.

@hi-rustin hi-rustin changed the title Remove useless file and unused import, and fix typo Remove unused import and fix typo May 5, 2023
public/app/pages/routes.ts Outdated Show resolved Hide resolved
@@ -2,7 +2,7 @@ import React from 'react';
import ReactDOM from 'react-dom/client';
import './jquery-import';
import { Provider } from 'react-redux';
import store, { persistor } from './redux/store';
import store from './redux/store';
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is good, but doesn't prevent catching the same issue again. Would you mind adding a linter rule to check for unused imports?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you mean to use ESlint? I am glad to add it. I will open a new pull request to introduce the ESlint as the linter.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Added an issue here #672

@hi-rustin hi-rustin requested a review from eh-am May 9, 2023 11:13
@eh-am eh-am merged commit c481f82 into grafana:main May 9, 2023
13 checks passed
@hi-rustin hi-rustin deleted the rustin-patch-fe branch May 9, 2023 13:34
simonswine pushed a commit to simonswine/pyroscope that referenced this pull request Jun 30, 2023
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.

None yet

2 participants