diff --git a/web-src/eslint.config.js b/web-src/eslint.config.js index e1e6bede..ebab69c2 100644 --- a/web-src/eslint.config.js +++ b/web-src/eslint.config.js @@ -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', diff --git a/web-src/src/lib/GroupedList.js b/web-src/src/lib/GroupedList.js index df2fec6a..7e90fd71 100644 --- a/web-src/src/lib/GroupedList.js +++ b/web-src/src/lib/GroupedList.js @@ -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