tech: more tslint rules

This commit is contained in:
Torkel Ödegaard
2017-09-21 17:23:31 +02:00
parent b8d9722b4f
commit 491fa6cad8
16 changed files with 24 additions and 904 deletions

View File

@@ -3,7 +3,7 @@
import _ from 'lodash';
export default class ResponseParser {
constructor(private $q){}
constructor(private $q) {}
processQueryResult(res) {
var data = [];
@@ -47,7 +47,7 @@ export default class ResponseParser {
const textColIndex = this.findColIndex(columns, '__text');
const valueColIndex = this.findColIndex(columns, '__value');
if (columns.length === 2 && textColIndex !== -1 && valueColIndex !== -1){
if (columns.length === 2 && textColIndex !== -1 && valueColIndex !== -1) {
return this.transformToKeyValueList(rows, textColIndex, valueColIndex);
}