Skip to content

Commit 37618b7

Browse files
author
Riva Junior
committed
Run eslint --fix
1 parent df1afc9 commit 37618b7

File tree

26 files changed

+104
-104
lines changed

26 files changed

+104
-104
lines changed

demos/common/Corner.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default {
2929
3030
computed: {
3131
url () {
32-
return `https://github.com/tangbc/vue-virtual-scroll-list/tree/master/demos` + (this.path || '')
32+
return 'https://github.com/tangbc/vue-virtual-scroll-list/tree/master/demos' + (this.path || '')
3333
}
3434
}
3535
}

demos/common/Item.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default {
6262
computed: {
6363
itemStyle () {
6464
return {
65-
'height': `${this.height}px`,
65+
height: `${this.height}px`,
6666
'line-height': `${this.height}px`
6767
}
6868
}

demos/common/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ const skinColorArr = [
159159

160160
export const getRandomAvatar = () => {
161161
return 'https://avataaars.io/?' + [
162-
`avatarStyle=Transparent`,
162+
'avatarStyle=Transparent',
163163
`topType=${Random.pick(topTypeArr)}`,
164164
`accessoriesType=${Random.pick(accessoriesTypeArr)}`,
165165
`hatColor=${Random.pick(facialHairTypeArr)}`,

demos/item-mode/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const remain = 6
3232
const itemSize = 80
3333
const itemCount = countStorage.get()
3434
35-
let userInfoList = []
35+
const userInfoList = []
3636
for (let i = 0; i < itemCount; i++) {
3737
userInfoList.push(getRandomUser())
3838
}

demos/item-mode/build.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/page-mode/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const remain = 17
3131
const itemSize = 80
3232
const itemCount = countStorage.get()
3333
34-
let userInfoList = []
34+
const userInfoList = []
3535
for (let i = 0; i < itemCount; i++) {
3636
userInfoList.push(getRandomUser())
3737
}

demos/page-mode/build.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/scroll-element/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const remain = 14
3333
const itemSize = 80
3434
const itemCount = countStorage.get()
3535
36-
let userInfoList = []
36+
const userInfoList = []
3737
for (let i = 0; i < itemCount; i++) {
3838
userInfoList.push(getRandomUser())
3939
}

demos/scroll-element/build.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/variable-height/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const remain = 6
3434
const itemSize = 80
3535
const itemCount = countStorage.get()
3636
37-
let userInfoList = []
37+
const userInfoList = []
3838
for (let i = 0; i < itemCount; i++) {
3939
userInfoList.push({
4040
info: getRandomUser(),

0 commit comments

Comments
 (0)