Permalink
Browse files

fix(project): lint errors

  • Loading branch information...
jeremyvergnas committed Nov 30, 2016
1 parent ab21e29 commit a7cc55f777ef83fa576679704471388b30685acf
Showing with 4 additions and 2 deletions.
  1. +3 −1 .eslintrc.json
  2. +1 −1 src/datatable.js
@@ -1,4 +1,6 @@
{
"extends": "./node_modules/spoonx-tools/.eslintrc.json",
"rules": {}
"rules": {
"max-lines": ["error", 400]
}
}
@@ -86,7 +86,7 @@ export class DataTable {
this.criteria.populate = null;
} else if (typeof this.populate === 'string') {
this.criteria.populate = this.populate;
} else if(Array.isArray(this.populate)){
} else if(Array.isArray(this.populate)) {
this.criteria.populate = this.populate.join(',');
}

0 comments on commit a7cc55f

Please sign in to comment.