mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-01 18:21:31 -04:00
[web] Lint source code
This commit is contained in:
parent
f156bb357a
commit
978e344ce2
@ -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',
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user