From 8dd6dfa75efc18b0df11c7f8d8cb78b02d4a8f9e Mon Sep 17 00:00:00 2001 From: hastom Date: Thu, 23 Apr 2020 13:21:48 +0300 Subject: [PATCH 1/2] Added rules to force existing code style --- .eslintrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index def52e898..e0f07c5a9 100644 --- a/.eslintrc +++ b/.eslintrc @@ -16,6 +16,7 @@ "jest/globals": true }, "rules": { + "space-before-function-paren": ["warn"], "arrow-parens": 0, "generator-star-spacing": "off", "indent": "off", @@ -55,6 +56,7 @@ "error", "PascalCase" ], - "vue/require-v-for-key": 0 + "vue/require-v-for-key": 0, + "vue/html-closing-bracket-spacing": ["error"] } } From cdfd2d8fc94e7e63b0c50ef6b79982dc9d97e68e Mon Sep 17 00:00:00 2001 From: hastom Date: Thu, 23 Apr 2020 13:51:49 +0300 Subject: [PATCH 2/2] One more --- .eslintrc | 1 + yarn.lock | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/.eslintrc b/.eslintrc index e0f07c5a9..12cd062f2 100644 --- a/.eslintrc +++ b/.eslintrc @@ -16,6 +16,7 @@ "jest/globals": true }, "rules": { + "semi": ["warn", "never"], "space-before-function-paren": ["warn"], "arrow-parens": 0, "generator-star-spacing": "off", diff --git a/yarn.lock b/yarn.lock index c9925cd23..111fed479 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4425,6 +4425,11 @@ form-data@~2.3.2: combined-stream "^1.0.6" mime-types "^2.1.12" +format-thousands@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/format-thousands/-/format-thousands-1.1.1.tgz#7975bee30338d9006390da5831db0b41c323fbfa" + integrity sha1-eXW+4wM42QBjkNpYMdsLQcMj+/o= + forwarded@~0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84" @@ -7300,6 +7305,11 @@ node-fetch@1.6.3: encoding "^0.1.11" is-stream "^1.0.1" +node-fetch@^2.3.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd" + integrity sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA== + node-gyp@^3.8.0: version "3.8.0" resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-3.8.0.tgz#540304261c330e80d0d5edce253a68cb3964218c" @@ -10294,6 +10304,11 @@ tslib@^1.9.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ== +tslib@^1.9.3: + version "1.11.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35" + integrity sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA== + tty-browserify@0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" @@ -10646,6 +10661,15 @@ vue-ga@^1.1.0: resolved "https://registry.yarnpkg.com/vue-ga/-/vue-ga-1.1.0.tgz#366fea37afb953b5b115e56feb1005cc6bd1e20e" integrity sha512-cnwIW75CwsqGZP62dFZt7e4/k9vhKsos3pJBBKkREXJ4bk2ePVgJiOeynhjvAtvyRzEmfsASfYMwzt0Dra/cng== +vue-github-buttons@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/vue-github-buttons/-/vue-github-buttons-3.1.0.tgz#eaea2ba0b7e0df5a7fd1c61ba37dabf7553dd79a" + integrity sha512-x0b9bdhP5xZOD5kQ9+nnCzvKqVyHb4moqN2l06mjYB/k2WRdW5jiAWlneUgoPFwPvcqM40vrTDXVvBrS0MMlEQ== + dependencies: + format-thousands "^1.1.1" + node-fetch "^2.3.0" + tslib "^1.9.3" + vue-hot-reload-api@^2.2.0: version "2.3.3" resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.3.tgz#2756f46cb3258054c5f4723de8ae7e87302a1ccf" @@ -10701,6 +10725,13 @@ vue-template-es2015-compiler@^1.5.3, vue-template-es2015-compiler@^1.6.0: resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825" integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw== +vue-toc@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/vue-toc/-/vue-toc-0.0.1.tgz#6a4dfa9c144445679705cd7b991a1a73ac080cc0" + integrity sha512-RZfVgLzk/kpEmk05ptvU/+x3TVo4Ai4BBARvV4iCurR9bJsAqnnrqwjEBKnEG+s6NT0yQ6EY0JMGViyOUGysDw== + dependencies: + vue "^2.6.10" + vue@^2.6.10: version "2.6.10" resolved "https://registry.yarnpkg.com/vue/-/vue-2.6.10.tgz#a72b1a42a4d82a721ea438d1b6bf55e66195c637"