[web] Lint source code
This commit is contained in:
parent
f156bb357a
commit
978e344ce2
|
@ -19,7 +19,6 @@ export default [
|
|||
rules: {
|
||||
camelcase: 'off',
|
||||
'consistent-this': 'off',
|
||||
'default-param-last': 'off',
|
||||
'id-length': 'off',
|
||||
'max-lines': 'off',
|
||||
'max-lines-per-function': 'off',
|
||||
|
|
|
@ -66,7 +66,10 @@ const createIndexer = ({ field, type = undefined } = {}) => {
|
|||
}
|
||||
|
||||
export class GroupedList {
|
||||
constructor({ items = [], total = 0, offset = 0, limit = -1 } = {}, options) {
|
||||
constructor(
|
||||
{ items = [], total = 0, offset = 0, limit = -1 } = {},
|
||||
options = {}
|
||||
) {
|
||||
this.items = items
|
||||
this.total = total
|
||||
this.offset = offset
|
||||
|
|
Loading…
Reference in New Issue