Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie committed Jul 2, 2021
1 parent 1c5fbce commit 3dbdda1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
5 changes: 2 additions & 3 deletions docs/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
## Activate plugins for local development

1. First, make sure you have run `yarn` and `yarn build` in `superset-ui` or your own plugin repo.
2. Go to
[superset-frontend](https://github.com/apache/superset/tree/master/superset-frontend),
use `npm link` to create a symlink of the plugin source code in `node_modules`:
2. Go to [superset-frontend](https://github.com/apache/superset/tree/master/superset-frontend), use
`npm link` to create a symlink of the plugin source code in `node_modules`:

```sh
cd superset/superset-frontend
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@
* under the License.
*/
import React from 'react';
import {
t,
RollingType,
TimeShiftType,
} from '@superset-ui/core';
import { t, RollingType, TimeShiftType } from '@superset-ui/core';
import { ControlPanelSectionConfig } from '../types';
import { formatSelectOptions } from '../utils';

Expand Down
5 changes: 1 addition & 4 deletions plugins/plugin-chart-echarts/src/Timeseries/buildQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
* under the License.
*/
import { buildQueryContext, getMetricLabel, QueryFormData, QueryObject } from '@superset-ui/core';
import {
rollingWindowTransform,
timeCompareTransform,
} from '@superset-ui/chart-controls';
import { rollingWindowTransform, timeCompareTransform } from '@superset-ui/chart-controls';

export default function buildQuery(formData: QueryFormData) {
return buildQueryContext(formData, baseQueryObject => {
Expand Down

0 comments on commit 3dbdda1

Please sign in to comment.