enforce semicolons

This commit is contained in:
busti 2019-11-13 22:20:41 +01:00
parent 697a3f184f
commit 8b82069a03
6 changed files with 11228 additions and 4 deletions

35
.eslintrc.js Normal file
View file

@ -0,0 +1,35 @@
module.exports = {
'env': {
'browser': true,
'es6': true
},
'extends': [
'eslint:recommended',
'plugin:vue/essential'
],
'globals': {
'Atomics': 'readonly',
'SharedArrayBuffer': 'readonly'
},
'plugins': [
'vue'
],
'rules': {
'indent': [
'error',
4
],
'linebreak-style': [
'error',
'unix'
],
'quotes': [
'error',
'single'
],
'semi': [
'error',
'always'
]
}
};

View file

@ -2,4 +2,4 @@ module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
};

11183
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -9,7 +9,8 @@
},
"dependencies": {
"core-js": "^3.3.2",
"vue": "^2.6.10"
"vue": "^2.6.10",
"vuex": "^3.1.2"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^4.0.0",

View file

@ -1,8 +1,8 @@
import Vue from 'vue'
import App from './App.vue'
Vue.config.productionTip = false
Vue.config.productionTip = false;
new Vue({
render: h => h(App),
}).$mount('#app')
}).$mount('#app');

View file

@ -7916,6 +7916,11 @@ vue@^2.6.10:
resolved "https://registry.yarnpkg.com/vue/-/vue-2.6.10.tgz#a72b1a42a4d82a721ea438d1b6bf55e66195c637"
integrity sha512-ImThpeNU9HbdZL3utgMCq0oiMzAkt1mcgy3/E6zWC/G6AaQoeuFdsl9nDhTDU3X1R6FK7nsIUuRACVcjI+A2GQ==
vuex@^3.1.2:
version "3.1.2"
resolved "https://registry.yarnpkg.com/vuex/-/vuex-3.1.2.tgz#a2863f4005aa73f2587e55c3fadf3f01f69c7d4d"
integrity sha512-ha3jNLJqNhhrAemDXcmMJMKf1Zu4sybMPr9KxJIuOpVcsDQlTBYLLladav2U+g1AvdYDG5Gs0xBTb0M5pXXYFQ==
watchpack@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.6.0.tgz#4bc12c2ebe8aa277a71f1d3f14d685c7b446cd00"