mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
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:
parent
83d6789497
commit
c52b095c57
3 changed files with 2 additions and 1 deletions
|
|
@ -32,7 +32,6 @@
|
|||
},
|
||||
"rules": {
|
||||
"prefer-rest-params": 0,
|
||||
"no-useless-constructor": 0,
|
||||
"no-unused-expressions": 0,
|
||||
"prefer-spread": 0,
|
||||
"no-redeclare": 0,
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue