fix: lint

This commit is contained in:
Krist Wongsuphasawat 2019-09-18 23:23:31 -07:00 committed by Yongjie Zhao
parent 46384d790a
commit b98fecd1be
18 changed files with 24 additions and 5 deletions

View File

@ -49,7 +49,7 @@
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"babel-loader": "^8.0.5",
"gh-pages": "^2.0.1",
"terser-webpack-plugin": "1.4.1"
"terser-webpack-plugin": "^2.1.0"
},
"peerDependencies": {
"@superset-ui/chart": "^0.12.0",

View File

@ -1,3 +1,4 @@
/* eslint-disable sort-keys */
/* eslint-disable no-magic-numbers */
import React from 'react';
import { SuperChart } from '@superset-ui/chart';

View File

@ -1,4 +1,4 @@
import { ArcChartPlugin } from '../../../../../superset-ui-legacy-preset-chart-deckgl/src';
import { ArcChartPlugin } from '../../../../../superset-ui-legacy-preset-chart-deckgl';
import Stories from './Stories';
new ArcChartPlugin().configure({ key: 'deck_arc' }).register();

View File

@ -1,3 +1,4 @@
/* eslint-disable sort-keys */
/* eslint-disable no-magic-numbers */
import React from 'react';
import { SuperChart } from '@superset-ui/chart';

View File

@ -1,3 +1,5 @@
/* eslint-disable sort-keys */
/* eslint-disable no-magic-numbers */
export default {
cache_key: null,
cached_dttm: null,

View File

@ -1,3 +1,4 @@
/* eslint-disable sort-keys */
/* eslint-disable no-magic-numbers */
import React from 'react';
import { SuperChart } from '@superset-ui/chart';

View File

@ -1,3 +1,5 @@
/* eslint-disable sort-keys */
/* eslint-disable no-magic-numbers */
export default {
cache_key: null,
cached_dttm: null,

View File

@ -1,3 +1,4 @@
/* eslint-disable sort-keys */
/* eslint-disable no-magic-numbers */
import React from 'react';
import { SuperChart } from '@superset-ui/chart';

View File

@ -1,3 +1,5 @@
/* eslint-disable sort-keys */
/* eslint-disable no-magic-numbers */
export default {
cache_key: null,
cached_dttm: null,

View File

@ -1,3 +1,4 @@
/* eslint-disable sort-keys */
/* eslint-disable no-magic-numbers */
import React from 'react';
import { SuperChart } from '@superset-ui/chart';

View File

@ -1,4 +1,4 @@
import { PolygonChartPlugin } from '../../../../../superset-ui-legacy-preset-chart-deckgl/src';
import { PolygonChartPlugin } from '../../../../../superset-ui-legacy-preset-chart-deckgl';
import Stories from './Stories';
new PolygonChartPlugin().configure({ key: 'deck_polygon' }).register();

View File

@ -1,3 +1,5 @@
/* eslint-disable sort-keys */
/* eslint-disable no-magic-numbers */
export default {
cache_key: null,
cached_dttm: null,

View File

@ -1,3 +1,4 @@
/* eslint-disable sort-keys */
/* eslint-disable no-magic-numbers */
import React from 'react';
import { SuperChart } from '@superset-ui/chart';

View File

@ -1,4 +1,4 @@
import { ScatterChartPlugin } from '../../../../../superset-ui-legacy-preset-chart-deckgl/src';
import { ScatterChartPlugin } from '../../../../../superset-ui-legacy-preset-chart-deckgl';
import Stories from './Stories';
new ScatterChartPlugin().configure({ key: 'deck_scatter' }).register();

View File

@ -1,3 +1,5 @@
/* eslint-disable sort-keys */
/* eslint-disable no-magic-numbers */
export default {
cache_key: null,
cached_dttm: null,

View File

@ -1,3 +1,4 @@
/* eslint-disable sort-keys */
/* eslint-disable no-magic-numbers */
import React from 'react';
import { SuperChart } from '@superset-ui/chart';

View File

@ -1,4 +1,4 @@
import { ScreengridChartPlugin } from '../../../../../superset-ui-legacy-preset-chart-deckgl/src';
import { ScreengridChartPlugin } from '../../../../../superset-ui-legacy-preset-chart-deckgl';
import Stories from './Stories';
new ScreengridChartPlugin().configure({ key: 'deck_screengrid' }).register();

View File

@ -1,3 +1,5 @@
/* eslint-disable sort-keys */
/* eslint-disable no-magic-numbers */
export default {
cache_key: null,
cached_dttm: null,