fix: no-useless-constructor

```
/Users/1ambda/github/apache/apache-zeppelin/zeppelin-master/zeppelin-web/src/app/tabledata/passthrough.js
  21:3  error  Useless constructor  no-useless-constructor

/Users/1ambda/github/apache/apache-zeppelin/zeppelin-master/zeppelin-web/src/app/tabledata/pivot.js
  21:3  error  Useless constructor  no-useless-constructor
```
This commit is contained in:
1ambda 2017-04-15 01:26:36 +09:00
parent 83d6789497
commit c52b095c57
3 changed files with 2 additions and 1 deletions

View file

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

View file

@ -18,6 +18,7 @@ import Transformation from './transformation';
* passthough the data
*/
export default class PassthroughTransformation extends Transformation {
// eslint-disable-next-line no-useless-constructor
constructor (config) {
super(config);
}

View file

@ -18,6 +18,7 @@ import Transformation from './transformation';
* pivot table data and return d3 chart data
*/
export default class PivotTransformation extends Transformation {
// eslint-disable-next-line no-useless-constructor
constructor (config) {
super(config);
}