mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix: no-unused-expressions
``` /Users/1ambda/github/apache/apache-zeppelin/zeppelin-master/zeppelin-web/src/app/tabledata/transformation.js (1/0) ✖ 21:5 Expected an assignment or function call and instead saw an expression no-unused-expressions ```
This commit is contained in:
parent
bd981d716b
commit
e3f9641cb2
4 changed files with 7 additions and 8 deletions
|
|
@ -32,7 +32,6 @@
|
|||
},
|
||||
"rules": {
|
||||
"prefer-rest-params": 0,
|
||||
"no-unused-expressions": 0,
|
||||
"prefer-spread": 0,
|
||||
"no-redeclare": 0,
|
||||
"no-var": 0,
|
||||
|
|
|
|||
|
|
@ -103,16 +103,16 @@ function ResultCtrl ($scope, $rootScope, $route, $window, $routeParams, $locatio
|
|||
};
|
||||
|
||||
// type
|
||||
$scope.type;
|
||||
$scope.type = null;
|
||||
|
||||
// Data of the result
|
||||
var data;
|
||||
|
||||
// config
|
||||
$scope.config;
|
||||
$scope.config = null;
|
||||
|
||||
// resultId = paragraph.id + index
|
||||
$scope.id;
|
||||
$scope.id = null;
|
||||
|
||||
// referece to paragraph
|
||||
var paragraph;
|
||||
|
|
@ -130,10 +130,10 @@ function ResultCtrl ($scope, $rootScope, $route, $window, $routeParams, $locatio
|
|||
var enableHelium = false;
|
||||
|
||||
// graphMode
|
||||
$scope.graphMode;
|
||||
$scope.graphMode = null;
|
||||
|
||||
// image data
|
||||
$scope.imageData;
|
||||
$scope.imageData = null;
|
||||
|
||||
// queue for append output
|
||||
const textResultQueueForAppend = [];
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
export default class Transformation {
|
||||
constructor (config) {
|
||||
this.config = config;
|
||||
this._emitter;
|
||||
this._emitter = () => {};
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ export default class Visualization {
|
|||
this.config = config;
|
||||
this._dirty = false;
|
||||
this._active = false;
|
||||
this._emitter;
|
||||
this._emitter = () => {};
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue