Skip to content
This repository was archived by the owner on May 27, 2019. It is now read-only.

Commit 85af3f4

Browse files
committed
chore: try vue eslint but give up
1 parent 132544f commit 85af3f4

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
extends: ['algolia/vue']
2+
extends: ['algolia/vue'],
33
};

examples/e-commerce/src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@
103103
</div>
104104
<div class="result__rating">
105105
<template v-for="n in 5">
106-
<span v-if="n <= result.rating" class="result__star"></span>
107-
<span v-else class="result__star--empty"></span>
106+
<span v-if="n <= result.rating" class="result__star" :key="n"></span>
107+
<span v-else class="result__star--empty" :key="n"></span>
108108
</template>
109109
</div>
110110
<div class="result__price">${{result.price}}</div>

examples/vue-router/src/Search.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
<ais-input placeholder="Search for a product..."/>
55

66
<ais-price-range attribute-name="price"></ais-price-range>
7-
7+
88
<ais-refinement-list attribute-name="colors"></ais-refinement-list>
99

1010
<ais-tree-menu :attributes="['category', 'sub_category']">
1111
<h3 slot="header">Browse by</h3>
1212
</ais-tree-menu>
13-
13+
1414
<ais-results>
1515
<template slot-scope="{ result }">
1616
<h2>{{ result.name }}</h2>

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"format": "prettier --write **/*.{js,vue,json}",
99
"test": "yarn lint && yarn build"
1010
},
11-
"comment":
12-
"notice that examples/nuxt is missing from the workspace, because it breaks in a workspace",
11+
"comment": "notice that examples/nuxt is missing from the workspace, because it breaks in a workspace",
1312
"workspaces": [
1413
"examples/e-commerce",
1514
"examples/multi-index",

0 commit comments

Comments
 (0)