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:
1ambda 2017-04-15 01:48:53 +09:00
parent bd981d716b
commit e3f9641cb2
4 changed files with 7 additions and 8 deletions

View file

@ -32,7 +32,6 @@
},
"rules": {
"prefer-rest-params": 0,
"no-unused-expressions": 0,
"prefer-spread": 0,
"no-redeclare": 0,
"no-var": 0,

View file

@ -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 = [];

View file

@ -18,7 +18,7 @@
export default class Transformation {
constructor (config) {
this.config = config;
this._emitter;
this._emitter = () => {};
}
/**

View file

@ -21,7 +21,7 @@ export default class Visualization {
this.config = config;
this._dirty = false;
this._active = false;
this._emitter;
this._emitter = () => {};
}
/**