[web] Lint source code

This commit is contained in:
Alain Nussbaumer 2024-04-23 20:33:42 +02:00
parent f156bb357a
commit 978e344ce2
2 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,6 @@ export default [
rules: { rules: {
camelcase: 'off', camelcase: 'off',
'consistent-this': 'off', 'consistent-this': 'off',
'default-param-last': 'off',
'id-length': 'off', 'id-length': 'off',
'max-lines': 'off', 'max-lines': 'off',
'max-lines-per-function': 'off', 'max-lines-per-function': 'off',

View File

@ -66,7 +66,10 @@ const createIndexer = ({ field, type = undefined } = {}) => {
} }
export class GroupedList { 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.items = items
this.total = total this.total = total
this.offset = offset this.offset = offset