Skip to content

Commit be11db6

Browse files
authored
chore: add lint cache (#2052)
* chore: add lint cache * chore: update * chore: revert dist
1 parent 4fb9dec commit be11db6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+132
-196
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dist
1+
**/dist/**

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.DS_Store
22
node_modules/
3+
.eslintcache
34

45
# Editor files
56
/.idea

.prettierrc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
22
"semi": false,
3-
"singleQuote": true
3+
"singleQuote": true,
4+
"trailingComma": "none",
5+
"arrowParens": "avoid"
46
}

docs/api/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ You can also pass a function that takes the props as an argument:
169169
```js
170170
shallowMount(Component, {
171171
scopedSlots: {
172-
foo: function(props) {
172+
foo: function (props) {
173173
return this.$createElement('div', props.index)
174174
}
175175
}

docs/fr/api/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Vous pouvez également passer une fonction qui prend les props comme argument :
168168
```js
169169
shallowMount(Component, {
170170
scopedSlots: {
171-
foo: function(props) {
171+
foo: function (props) {
172172
return this.$createElement('div', props.index)
173173
}
174174
}

docs/fr/guides/common-tips.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ En pratique, bien que nous appelions et attendions `setData` pour assurer la mis
221221

222222
```js
223223
const transitionStub = () => ({
224-
render: function(h) {
224+
render: function (h) {
225225
return this.$options._renderChildren
226226
}
227227
})

docs/fr/guides/dom-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Ce composant permet d'incrémenter/décrémenter la quantité à l'aide de diff
144144
},
145145
146146
watch: {
147-
quantity: function(newValue) {
147+
quantity: function (newValue) {
148148
this.$emit('input', newValue)
149149
}
150150
}

docs/fr/installation/using-other-test-runners.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Vous trouverez ci-dessous une configuration de base de Karma pour Vue Test Utils
1212
// karma.conf.js
1313
var webpackConfig = require('./webpack.config.js')
1414

15-
module.exports = function(config) {
15+
module.exports = function (config) {
1616
config.set({
1717
frameworks: ['mocha'],
1818
files: ['test/**/*.spec.js'],

docs/guides/common-tips.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ In practice, although we are calling and awaiting `setData` to ensure the DOM is
223223

224224
```js
225225
const transitionStub = () => ({
226-
render: function(h) {
226+
render: function (h) {
227227
return this.$options._renderChildren
228228
}
229229
})

docs/guides/dom-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ This component allows to increment/decrement the quantity using various keys.
142142
},
143143
144144
watch: {
145-
quantity: function(newValue) {
145+
quantity: function (newValue) {
146146
this.$emit('input', newValue)
147147
}
148148
}

0 commit comments

Comments
 (0)