From 0286b87998084c7cb3682dd01ae3f1d0ccb94ea9 Mon Sep 17 00:00:00 2001 From: leotabosa Date: Mon, 22 Jul 2019 10:35:45 -0300 Subject: [PATCH 1/9] =?UTF-8?q?atualiza=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 208 ++++++++++----------------------- src/components/Card.vue | 48 ++++++++ src/components/Footer.vue | 33 ++++++ src/components/Header.vue | 24 ++-- src/components/HelloWorld.vue | 58 --------- src/components/List.vue | 20 ++++ src/components/Loader.vue | 10 +- src/components/SearchOrder.vue | 106 +++++++++++++++++ 8 files changed, 282 insertions(+), 225 deletions(-) create mode 100644 src/components/Card.vue create mode 100644 src/components/Footer.vue delete mode 100644 src/components/HelloWorld.vue create mode 100644 src/components/List.vue create mode 100644 src/components/SearchOrder.vue diff --git a/src/App.vue b/src/App.vue index f5cac5c..cf28bcd 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,43 +1,21 @@ diff --git a/src/components/Card.vue b/src/components/Card.vue new file mode 100644 index 0000000..d5c1f1d --- /dev/null +++ b/src/components/Card.vue @@ -0,0 +1,48 @@ + + + + + diff --git a/src/components/Footer.vue b/src/components/Footer.vue new file mode 100644 index 0000000..3b4397a --- /dev/null +++ b/src/components/Footer.vue @@ -0,0 +1,33 @@ + + + diff --git a/src/components/Header.vue b/src/components/Header.vue index ac2348e..e4a23d1 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -2,16 +2,12 @@
- + diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue deleted file mode 100644 index 879051a..0000000 --- a/src/components/HelloWorld.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - diff --git a/src/components/List.vue b/src/components/List.vue new file mode 100644 index 0000000..9ea194b --- /dev/null +++ b/src/components/List.vue @@ -0,0 +1,20 @@ + + + + diff --git a/src/components/Loader.vue b/src/components/Loader.vue index 585510c..ed467cd 100644 --- a/src/components/Loader.vue +++ b/src/components/Loader.vue @@ -8,10 +8,11 @@ + From ce2aa9b79c1e197a5cec26c52a60147c4af27965 Mon Sep 17 00:00:00 2001 From: leotabosa Date: Mon, 22 Jul 2019 14:55:48 -0300 Subject: [PATCH 2/9] =?UTF-8?q?Atualiza=C3=A7=C3=A3o=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Card.vue | 2 +- src/components/Footer.vue | 4 ++-- src/components/Header.vue | 5 +++-- src/components/SearchOrder.vue | 13 ++++--------- 4 files changed, 10 insertions(+), 14 deletions(-) diff --git a/src/components/Card.vue b/src/components/Card.vue index d5c1f1d..7d40095 100644 --- a/src/components/Card.vue +++ b/src/components/Card.vue @@ -37,7 +37,7 @@ export default { transition:0.4s; } .card-body:hover{ - box-shadow: 10px 10px 1px #3b4a54; + box-shadow: 8px 6px 1px #3b4a54; transition:0.7s; } .card-body:not(hover){ diff --git a/src/components/Footer.vue b/src/components/Footer.vue index 3b4397a..13d5ea6 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -13,7 +13,7 @@ export default { margin-top:30px; height: 5vh; background-color: black; - border-top: 1px solid green; + border-top: 3px solid green; text-align:center; } .footer-text-1{ @@ -24,7 +24,7 @@ export default { display: inline-block; } .footer-text-1:hover{ - color:green; + color: white; transition:0.2s; } .footer-link:hover{ diff --git a/src/components/Header.vue b/src/components/Header.vue index e4a23d1..521ddee 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -2,7 +2,7 @@
@@ -20,12 +20,13 @@ position: relative; } .navbar-brand:hover{ - font-size:20.4px; + font-size:20.5px; transition:0.3s; } .navbar-brand:not(hover){ font-size:20px; transition:0.3s; } + diff --git a/src/components/SearchOrder.vue b/src/components/SearchOrder.vue index 3e328f0..e3c7674 100644 --- a/src/components/SearchOrder.vue +++ b/src/components/SearchOrder.vue @@ -1,8 +1,8 @@ - + - diff --git a/src/components/List.vue b/src/components/List.vue index 6436c58..031145f 100644 --- a/src/components/List.vue +++ b/src/components/List.vue @@ -1,39 +1,38 @@ - - - diff --git a/src/components/Loader.vue b/src/components/Loader.vue index 89ae070..20d1b7d 100644 --- a/src/components/Loader.vue +++ b/src/components/Loader.vue @@ -1,35 +1,37 @@ - diff --git a/src/components/Order.vue b/src/components/Order.vue index 636a2a4..88d84ae 100644 --- a/src/components/Order.vue +++ b/src/components/Order.vue @@ -1,57 +1,60 @@ diff --git a/src/components/Search.vue b/src/components/Search.vue index c30ad5a..8394233 100644 --- a/src/components/Search.vue +++ b/src/components/Search.vue @@ -1,54 +1,54 @@ - - diff --git a/src/components/Toolbar.vue b/src/components/Toolbar.vue index 69c5316..fb35589 100644 --- a/src/components/Toolbar.vue +++ b/src/components/Toolbar.vue @@ -1,44 +1,36 @@ From 619a8e93cb9a82403380502104323f6806c50138 Mon Sep 17 00:00:00 2001 From: Joel Rocha Date: Tue, 23 Jul 2019 16:25:49 -0300 Subject: [PATCH 6/9] Removes old eslint rules adds Babel deps. --- .eslintrc.js | 104 ++++++++-------------- .vscode/extensions.json | 20 ----- package.json | 18 ++-- yarn.lock | 188 +++++++++++++++++++++++++--------------- 4 files changed, 167 insertions(+), 163 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index c50a182..f954970 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,78 +1,50 @@ module.exports = { - root: true, - parserOptions: { - sourceType: "script" + env: { + browser: true, + es6: true, }, extends: [ - // https://github.com/vuejs/eslint-plugin-vue#bulb-rules - "plugin:vue/recommended", - // https://github.com/standard/standard/blob/master/docs/RULES-en.md - "standard", - // https://github.com/prettier/eslint-config-prettier - "prettier", - "prettier/standard", - "prettier/vue" + 'plugin:vue/recommended', + 'standard', + 'prettier', + 'prettier/standard', + 'prettier/vue', ], + globals: { + Atomics: 'readonly', + SharedArrayBuffer: 'readonly', + }, + parserOptions: { + sourceType: 'script', + }, + plugins: ['vue'], rules: { - // Permite debugger apenas no desenvolvimento - "no-debugger": process.env.PRE_COMMIT ? "error" : "off", - // Permite console.* apenas no desenvolvimento - "no-console": process.env.PRE_COMMIT - ? ["error", { allow: ["warn", "error"] }] - : "off", - "vue/array-bracket-spacing": "error", - "vue/arrow-spacing": "error", - "vue/block-spacing": "error", - "vue/brace-style": "error", - "vue/camelcase": "error", - "vue/comma-dangle": ["error", "always-multiline"], - "vue/component-name-in-template-casing": "error", - "vue/dot-location": ["error", "property"], - "vue/eqeqeq": "error", - "vue/key-spacing": "error", - "vue/keyword-spacing": "error", - "vue/no-boolean-default": ["error", "default-false"], - "vue/no-deprecated-scope-attribute": "error", - "vue/no-empty-pattern": "error", - "vue/object-curly-spacing": ["error", "always"], - "vue/space-infix-ops": "error", - "vue/space-unary-ops": "error", - "vue/v-on-function-call": "error", - "vue/v-slot-style": [ - "error", - { - atComponent: "v-slot", - default: "v-slot", - named: "longform" - } - ], - "vue/valid-v-slot": "error" + 'no-debugger': 'error', + 'no-console': ['error', { allow: ['warn', 'error'] }], + 'vue/array-bracket-spacing': 'error', + 'vue/arrow-spacing': 'error', + 'vue/block-spacing': 'error', + 'vue/brace-style': 'error', + 'vue/camelcase': 'error', + 'vue/comma-dangle': ['error', 'always-multiline'], + 'vue/component-name-in-template-casing': 'error', + 'vue/eqeqeq': 'error', + 'vue/no-boolean-default': ['error', 'default-false'], + 'vue/object-curly-spacing': ['error', 'always'], + 'vue/space-infix-ops': 'error', + 'vue/space-unary-ops': 'error', + 'vue/v-on-function-call': 'error', }, overrides: [ { - files: ["src/**/*", "tests/unit/**/*", "tests/e2e/**/*"], + files: ['src/**/*'], parserOptions: { - parser: "babel-eslint", - sourceType: "module" + parser: 'babel-eslint', + sourceType: 'module', }, env: { - browser: true - } - }, - { - files: ["**/*.unit.js"], - parserOptions: { - parser: "babel-eslint", - sourceType: "module" + browser: true, }, - env: { jest: true }, - globals: { - mount: false, - shallowMount: false, - shallowMountView: false, - createComponentMocks: false, - createModuleStore: false - } - } - ] -}; + }, + ], +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 4bc3c36..54a14a4 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -12,30 +12,10 @@ // https://github.com/Microsoft/vscode-eslint "dbaeumer.vscode-eslint", - // Lint ao salvar para o Stylelint - // https://github.com/shinnn/vscode-stylelint - "shinnn.stylelint", - // Format ao salvar para o Prettier // https://github.com/prettier/prettier-vscode "esbenp.prettier-vscode", - // SCSS intellisense - // https://github.com/mrmlnc/vscode-scss - "mrmlnc.vscode-scss", - - // Testa os arquivos que terminam em `.unit.js` ao salvar com o Jest - // https://github.com/jest-community/vscode-jest - "Orta.vscode-jest", - - // Lint para os arquivos markdown - // https://github.com/DavidAnson/vscode-markdownlint - "DavidAnson.vscode-markdownlint", - - // Estensão para suportar o serviço do GraphQL - // https://github.com/apollographql/apollo-tooling - "apollographql.vscode-apollo", - // Para visualizar alterações Git // https://github.com/eamodio/vscode-gitlens "eamodio.gitlens" diff --git a/package.json b/package.json index 78d1f20..15a98d4 100644 --- a/package.json +++ b/package.json @@ -15,13 +15,21 @@ "@vue/cli-plugin-babel": "3.9.x", "@vue/cli-plugin-eslint": "3.9.x", "@vue/cli-service": "3.9.x", - "@vue/eslint-config-prettier": "4.0.x", + "@vue/eslint-config-prettier": "5.0.x", "@vue/eslint-config-standard": "4.0.x", + "babel-core": "7.0.0-bridge.0", "babel-eslint": "10.0.x", - "eslint": "5.16.x", - "eslint-plugin-vue": "5.0.x", - "vue-template-compiler": "2.6.10", - "prettier": "1.16.x" + "babel-plugin-component": "1.1.1", + "babel-plugin-require-context-hook": "1.0.0", + "eslint": "^6.1.0", + "eslint-config-standard": "^13.0.1", + "eslint-plugin-import": "^2.18.2", + "eslint-plugin-node": "^9.1.0", + "eslint-plugin-promise": "^4.2.1", + "eslint-plugin-standard": "^4.0.0", + "eslint-plugin-vue": "^5.2.3", + "prettier": "1.18.x", + "vue-template-compiler": "2.6.10" }, "postcss": { "plugins": { diff --git a/yarn.lock b/yarn.lock index b518985..50b7457 100644 --- a/yarn.lock +++ b/yarn.lock @@ -123,6 +123,14 @@ dependencies: "@babel/types" "^7.0.0" +"@babel/helper-module-imports@7.0.0-beta.35": + version "7.0.0-beta.35" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.35.tgz#308e350e731752cdb4d0f058df1d704925c64e0a" + integrity sha512-vaC1KyIZSuyWb3Lj277fX0pxivyHwuDU4xZsofqgYAbkDxNieMg2vuhzP5AgMweMY7fCQUMTi+BgPqTLjkxXFg== + dependencies: + "@babel/types" "7.0.0-beta.35" + lodash "^4.2.0" + "@babel/helper-module-imports@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.0.0.tgz#96081b7111e486da4d2cd971ad1a4fe216cc2e3d" @@ -661,6 +669,15 @@ globals "^11.1.0" lodash "^4.17.11" +"@babel/types@7.0.0-beta.35": + version "7.0.0-beta.35" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.0.0-beta.35.tgz#cf933a9a9a38484ca724b335b88d83726d5ab960" + integrity sha512-y9XT11CozHDgjWcTdxmhSj13rJVXpa5ZXwjjOiTedjaM0ba5ItqdS02t31EhPl7HtOWxsZkYCCUNrSfrOisA6w== + dependencies: + esutils "^2.0.2" + lodash "^4.2.0" + to-fast-properties "^2.0.0" + "@babel/types@^7.0.0", "@babel/types@^7.2.0", "@babel/types@^7.4.4", "@babel/types@^7.5.0": version "7.5.0" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.5.0.tgz#e47d43840c2e7f9105bc4d3a2c371b4d0c7832ab" @@ -981,14 +998,12 @@ source-map "~0.6.1" vue-template-es2015-compiler "^1.9.0" -"@vue/eslint-config-prettier@4.0.x": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@vue/eslint-config-prettier/-/eslint-config-prettier-4.0.1.tgz#a036d0d2193c5c836542b35a3a7c35c4e1c68c97" - integrity sha512-rJEDXPb61Hfgg8GllO3XXFP98bcIxdNNHSrNcxP/vBSukOolgOwQyZJ5f5z/c7ViPyh5/IDlC4qBnhx/0n+I4g== +"@vue/eslint-config-prettier@5.0.x": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@vue/eslint-config-prettier/-/eslint-config-prettier-5.0.0.tgz#ce66c8c4d9e01ad1d4e1a12140ab685bd5ef345a" + integrity sha512-OXcH+XWevp3DIdC3BBornC1q6/MNYfca/3HY66awV6aGm+dtkR/hpfBb6fX7nsVjcox13kgG+eSUtUfJ3uxZ8A== dependencies: - eslint-config-prettier "^3.3.0" - eslint-plugin-prettier "^3.0.0" - prettier "^1.15.2" + eslint-config-prettier "^6.0.0" "@vue/eslint-config-standard@4.0.x": version "4.0.0" @@ -1211,7 +1226,12 @@ acorn@^5.0.0, acorn@^5.5.0, acorn@^5.6.2: resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279" integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== -acorn@^6.0.2, acorn@^6.0.7, acorn@^6.1.1: +acorn@^6.0.2: + version "6.2.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.2.1.tgz#3ed8422d6dec09e6121cc7a843ca86a330a86b51" + integrity sha512-JD0xT5FCRDNyjDda3Lrg/IxFscp9q4tiYtxE1/nOzlKCk7hIRuYjhq1kCNkbPjMRMZuFq20HNQn1I9k8Oj0E+Q== + +acorn@^6.0.7, acorn@^6.1.1: version "6.2.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.2.0.tgz#67f0da2fc339d6cfb5d6fb244fd449f33cd8bbe3" integrity sha512-8oe72N3WPMjA+2zVG71Ia0nXZ8DpQH+QyyHO+p06jT8eg8FGG3FbcUIi8KziHlAfheJQZeoqbvq1mQSQHXKYLw== @@ -1246,7 +1266,7 @@ ajv@^5.2.3, ajv@^5.3.0: fast-json-stable-stringify "^2.0.0" json-schema-traverse "^0.3.0" -ajv@^6.1.0, ajv@^6.5.5, ajv@^6.9.1: +ajv@^6.1.0, ajv@^6.10.0, ajv@^6.5.5, ajv@^6.9.1: version "6.10.2" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52" integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw== @@ -1510,6 +1530,11 @@ babel-code-frame@^6.22.0, babel-code-frame@^6.26.0: esutils "^2.0.2" js-tokens "^3.0.2" +babel-core@7.0.0-bridge.0: + version "7.0.0-bridge.0" + resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece" + integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg== + babel-eslint@10.0.x, babel-eslint@^10.0.1: version "10.0.2" resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.0.2.tgz#182d5ac204579ff0881684b040560fdcc1558456" @@ -1532,6 +1557,13 @@ babel-loader@^8.0.5: mkdirp "^0.5.1" pify "^4.0.1" +babel-plugin-component@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/babel-plugin-component/-/babel-plugin-component-1.1.1.tgz#9b023a23ff5c9aae0fd56c5a18b9cab8c4d45eea" + integrity sha512-WUw887kJf2GH80Ng/ZMctKZ511iamHNqPhd9uKo14yzisvV7Wt1EckIrb8oq/uCz3B3PpAW7Xfl7AkTLDYT6ag== + dependencies: + "@babel/helper-module-imports" "7.0.0-beta.35" + babel-plugin-dynamic-import-node@^2.2.0, babel-plugin-dynamic-import-node@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.0.tgz#f00f507bdaa3c3e3ff6e7e5e98d90a7acab96f7f" @@ -1550,6 +1582,11 @@ babel-plugin-module-resolver@3.2.0: reselect "^3.0.1" resolve "^1.4.0" +babel-plugin-require-context-hook@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/babel-plugin-require-context-hook/-/babel-plugin-require-context-hook-1.0.0.tgz#3f0e7cce87c338f53639b948632fd4e73834632d" + integrity sha512-EMZD1563QUqLhzrqcThk759RhuNVX/ZJdrtGK6drwzgvnR+ARjWyXIHPbu+tUNaMGtPz/gQeAM2M6VUw2UiUeA== + balanced-match@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" @@ -3033,10 +3070,10 @@ escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= -eslint-config-prettier@^3.3.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-3.6.0.tgz#8ca3ffac4bd6eeef623a0651f9d754900e3ec217" - integrity sha512-ixJ4U3uTLXwJts4rmSVW/lMXjlGwCijhBJHk8iVqKKSifeI0qgFEfWl8L63isfc8Od7EiBALF6BX3jKLluf/jQ== +eslint-config-prettier@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.0.0.tgz#f429a53bde9fc7660e6353910fd996d6284d3c25" + integrity sha512-vDrcCFE3+2ixNT5H83g28bO/uYAwibJxerXPj+E7op4qzBCsAV36QfvdAyVOoNxKAH2Os/e01T/2x++V0LPukA== dependencies: get-stdin "^6.0.0" @@ -3109,13 +3146,6 @@ eslint-plugin-node@^8.0.0: resolve "^1.8.1" semver "^5.5.0" -eslint-plugin-prettier@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.0.tgz#8695188f95daa93b0dc54b249347ca3b79c4686d" - integrity sha512-XWX2yVuwVNLOUhQijAkXz+rMPPoCr7WFiAl8ig6I7Xn+pPVhDhzg4DxHpmbeb0iqjO9UronEA3Tb09ChnFVHHA== - dependencies: - prettier-linter-helpers "^1.0.0" - eslint-plugin-promise@^4.0.1: version "4.2.1" resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-4.2.1.tgz#845fd8b2260ad8f82564c1222fce44ad71d9418a" @@ -3126,12 +3156,12 @@ eslint-plugin-standard@^4.0.0: resolved "https://registry.yarnpkg.com/eslint-plugin-standard/-/eslint-plugin-standard-4.0.0.tgz#f845b45109c99cd90e77796940a344546c8f6b5c" integrity sha512-OwxJkR6TQiYMmt1EsNRMe5qG3GsbjlcOhbGUBY4LtavF9DsLaTcoR+j2Tdjqi23oUwKNUqX7qcn5fPStafMdlA== -eslint-plugin-vue@5.0.x: - version "5.0.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-5.0.0.tgz#4a2cc1c0e71ea45e1bd9c1a60f925bfe68bb5710" - integrity sha512-mSv2Ebz3RaPP+XJO/mu7F+SdR9lrMyGISSExnarLFqqf3pF5wTmwWNrhHW1o9zKzKI811UVTIIkWJJvgO6SsUQ== +eslint-plugin-vue@5.2.2: + version "5.2.2" + resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-5.2.2.tgz#86601823b7721b70bc92d54f1728cfc03b36283c" + integrity sha512-CtGWH7IB0DA6BZOwcV9w9q3Ri6Yuo8qMjx05SmOGJ6X6E0Yo3y9E/gQ5tuNxg2dEt30tRnBoFTbvtmW9iEoyHA== dependencies: - vue-eslint-parser "^4.0.2" + vue-eslint-parser "^5.0.0" eslint-plugin-vue@^4.7.1: version "4.7.1" @@ -3156,7 +3186,7 @@ eslint-scope@^3.7.1: esrecurse "^4.1.0" estraverse "^4.1.1" -eslint-scope@^4.0.0, eslint-scope@^4.0.3: +eslint-scope@^4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" integrity sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== @@ -3164,6 +3194,14 @@ eslint-scope@^4.0.0, eslint-scope@^4.0.3: esrecurse "^4.1.0" estraverse "^4.1.1" +eslint-scope@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.0.0.tgz#e87c8887c73e8d1ec84f1ca591645c358bfc8fb9" + integrity sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw== + dependencies: + esrecurse "^4.1.0" + estraverse "^4.1.1" + eslint-utils@^1.3.0, eslint-utils@^1.3.1: version "1.4.0" resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.0.tgz#e2c3c8dba768425f897cf0f9e51fe2e241485d4c" @@ -3176,47 +3214,48 @@ eslint-visitor-keys@^1.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== -eslint@5.16.x: - version "5.16.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.16.0.tgz#a1e3ac1aae4a3fbd8296fcf8f7ab7314cbb6abea" - integrity sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg== +eslint@6.1.x: + version "6.1.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.1.0.tgz#06438a4a278b1d84fb107d24eaaa35471986e646" + integrity sha512-QhrbdRD7ofuV09IuE2ySWBz0FyXCq0rriLTZXZqaWSI79CVtHVRdkFuFTViiqzZhkCgfOh9USpriuGN2gIpZDQ== dependencies: "@babel/code-frame" "^7.0.0" - ajv "^6.9.1" + ajv "^6.10.0" chalk "^2.1.0" cross-spawn "^6.0.5" debug "^4.0.1" doctrine "^3.0.0" - eslint-scope "^4.0.3" + eslint-scope "^5.0.0" eslint-utils "^1.3.1" eslint-visitor-keys "^1.0.0" - espree "^5.0.1" + espree "^6.0.0" esquery "^1.0.1" esutils "^2.0.2" file-entry-cache "^5.0.1" functional-red-black-tree "^1.0.1" - glob "^7.1.2" + glob-parent "^5.0.0" globals "^11.7.0" ignore "^4.0.6" import-fresh "^3.0.0" imurmurhash "^0.1.4" - inquirer "^6.2.2" - js-yaml "^3.13.0" + inquirer "^6.4.1" + is-glob "^4.0.0" + js-yaml "^3.13.1" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.3.0" - lodash "^4.17.11" + lodash "^4.17.14" minimatch "^3.0.4" mkdirp "^0.5.1" natural-compare "^1.4.0" optionator "^0.8.2" - path-is-inside "^1.0.2" progress "^2.0.0" regexpp "^2.0.1" - semver "^5.5.1" - strip-ansi "^4.0.0" - strip-json-comments "^2.0.1" + semver "^6.1.2" + strip-ansi "^5.2.0" + strip-json-comments "^3.0.1" table "^5.2.3" text-table "^0.2.0" + v8-compile-cache "^2.0.3" eslint@^4.19.1: version "4.19.1" @@ -3279,10 +3318,10 @@ espree@^4.1.0: acorn-jsx "^5.0.0" eslint-visitor-keys "^1.0.0" -espree@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-5.0.1.tgz#5d6526fa4fc7f0788a5cf75b15f30323e2f81f7a" - integrity sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A== +espree@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/espree/-/espree-6.0.0.tgz#716fc1f5a245ef5b9a7fdb1d7b0d3f02322e75f6" + integrity sha512-lJvCS6YbCn3ImT3yKkPe0+tJ+mH6ljhGNjHQH9mRtiO6gjhVAOhVXW1yjnwqGwTkK3bGbye+hb00nFNmu0l/1Q== dependencies: acorn "^6.0.7" acorn-jsx "^5.0.0" @@ -3499,11 +3538,6 @@ fast-deep-equal@^2.0.1: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= -fast-diff@^1.1.2: - version "1.2.0" - resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" - integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== - fast-glob@^2.2.6: version "2.2.7" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.7.tgz#6953857c3afa475fff92ee6015d52da70a4cd39d" @@ -3865,6 +3899,13 @@ glob-parent@^3.1.0: is-glob "^3.1.0" path-dirname "^1.0.0" +glob-parent@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.0.0.tgz#1dc99f0f39b006d3e92c2c284068382f0c20e954" + integrity sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg== + dependencies: + is-glob "^4.0.1" + glob-to-regexp@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" @@ -4365,7 +4406,7 @@ inquirer@^3.0.6: strip-ansi "^4.0.0" through "^2.3.6" -inquirer@^6.2.2: +inquirer@^6.4.1: version "6.5.0" resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.0.tgz#2303317efc9a4ea7ec2e2df6f86569b734accf42" integrity sha512-scfHejeG/lVZSpvCXpsB4j/wQNPM5JC8kiElOI0OUTwmc1RTpXr4H32/HOlQHcZiYl2z2VElwuCVDRG8vFmbnA== @@ -4567,7 +4608,7 @@ is-glob@^3.1.0: dependencies: is-extglob "^2.1.0" -is-glob@^4.0.0: +is-glob@^4.0.0, is-glob@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg== @@ -4727,7 +4768,7 @@ js-tokens@^3.0.2: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= -js-yaml@^3.13.0, js-yaml@^3.13.1, js-yaml@^3.9.1: +js-yaml@^3.13.1, js-yaml@^3.9.1: version "3.13.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== @@ -4983,6 +5024,11 @@ lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.3, lodash@^4.17. resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.14.tgz#9ce487ae66c96254fe20b599f21b6816028078ba" integrity sha512-mmKYbW3GLuJeX+iGP+Y7Gp1AiGHGbXHCOh/jZmrawMmsE7MS4znI3RL2FsjbqOyMayHInjOeykW7PEajUk1/xw== +lodash@^4.17.14, lodash@^4.2.0: + version "4.17.15" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" + integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== + log-symbols@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a" @@ -6389,24 +6435,12 @@ prepend-http@^2.0.0: resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc= -prettier-linter-helpers@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b" - integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w== - dependencies: - fast-diff "^1.1.2" - prettier@1.16.3: version "1.16.3" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.3.tgz#8c62168453badef702f34b45b6ee899574a6a65d" integrity sha512-kn/GU6SMRYPxUakNXhpP0EedT/KmaPzr0H5lIsDogrykbaxOpOfAFfk5XA7DZrJyMAv1wlMV3CPcZruGXVVUZw== -prettier@1.16.x: - version "1.16.4" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.4.tgz#73e37e73e018ad2db9c76742e2647e21790c9717" - integrity sha512-ZzWuos7TI5CKUeQAtFd6Zhm2s6EpAD/ZLApIhsF9pRvRtM1RFo61dM/4MSRUA0SuLugA/zgrZD8m0BaY46Og7g== - -prettier@^1.15.2: +prettier@1.18.x: version "1.18.2" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea" integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw== @@ -7025,7 +7059,7 @@ selfsigned@^1.10.4: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b" integrity sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA== -semver@^6.0.0, semver@^6.1.1: +semver@^6.0.0, semver@^6.1.1, semver@^6.1.2: version "6.2.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.2.0.tgz#4d813d9590aaf8a9192693d6c85b9344de5901db" integrity sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A== @@ -7520,7 +7554,12 @@ strip-indent@^2.0.0: resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" integrity sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g= -strip-json-comments@^2.0.1, strip-json-comments@~2.0.1: +strip-json-comments@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.0.1.tgz#85713975a91fb87bf1b305cca77395e40d2a64a7" + integrity sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw== + +strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= @@ -8007,6 +8046,11 @@ uuid@^3.0.1, uuid@^3.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA== +v8-compile-cache@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.3.tgz#00f7494d2ae2b688cfe2899df6ed2c54bef91dbe" + integrity sha512-CNmdbwQMBjwr9Gsmohvm0pbL954tJrNzf6gWL3K+QMQf00PF7ERGrEiLgjuU3mKreLC2MeGhUsNV9ybTbLgd3w== + validate-npm-package-license@^3.0.1: version "3.0.4" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" @@ -8051,10 +8095,10 @@ vue-eslint-parser@^2.0.3: esquery "^1.0.0" lodash "^4.17.4" -vue-eslint-parser@^4.0.2: - version "4.0.3" - resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-4.0.3.tgz#80cf162e484387b2640371ad21ba1f86e0c10a61" - integrity sha512-AUeQsYdO6+7QXCems+WvGlrXd37PHv/zcRQSQdY1xdOMwdFAPEnMBsv7zPvk0TPGulXkK/5p/ITgrjiYB7k3ag== +vue-eslint-parser@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-5.0.0.tgz#00f4e4da94ec974b821a26ff0ed0f7a78402b8a1" + integrity sha512-JlHVZwBBTNVvzmifwjpZYn0oPWH2SgWv5dojlZBsrhablDu95VFD+hriB1rQGwbD+bms6g+rAFhQHk6+NyiS6g== dependencies: debug "^4.1.0" eslint-scope "^4.0.0" From 1bd48bf38e38a414c83912bad557d7e94f659d45 Mon Sep 17 00:00:00 2001 From: leotabosa Date: Tue, 23 Jul 2019 16:45:11 -0300 Subject: [PATCH 7/9] =?UTF-8?q?Corre=C3=A7=C3=A3o=20de=20erros=20acusados?= =?UTF-8?q?=20pelo=20lint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 4 +- src/components/List.vue | 4 +- src/main.js | 9 ++- yarn.lock | 132 +++++++++++++++++++++++----------------- 4 files changed, 85 insertions(+), 64 deletions(-) diff --git a/src/App.vue b/src/App.vue index aebd83b..868260c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -78,14 +78,14 @@ export default { doSort(event) { this.mainRepos.sort((a, b) => { var t = event.property - if (event.type == 'asc') { + if (event.type === 'asc') { if (a[t] > b[t]) { return -1 } else { return 1 } } - if (event.type == 'desc') { + if (event.type === 'desc') { if (a[t] > b[t]) { return 1 } else { diff --git a/src/components/List.vue b/src/components/List.vue index 031145f..06a89be 100644 --- a/src/components/List.vue +++ b/src/components/List.vue @@ -6,8 +6,8 @@ :repoName="repo.name" :repoStars="repo.stargazers_count" :repoURL="repo.html_url" - :repoLanguage="repo.language ? repo.language : ''" - :repoDescription="repo.description ? repo.description : ''" + :repoLanguage="repo.language" + :repoDescription="repo.description" > diff --git a/src/main.js b/src/main.js index cce78ee..62d2f35 100644 --- a/src/main.js +++ b/src/main.js @@ -1,8 +1,7 @@ import Vue from 'vue' import App from './App.vue' -new Vue({ - el: '#app', - render: h => h(App) -}); - +var vm = new Vue({ + render: (h) => h(App), +}) +vm.$mount('#app') diff --git a/yarn.lock b/yarn.lock index 50b7457..c3c7ee4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3082,6 +3082,11 @@ eslint-config-standard@^12.0.0: resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-12.0.0.tgz#638b4c65db0bd5a41319f96bba1f15ddad2107d9" integrity sha512-COUz8FnXhqFitYj4DTqHzidjIL/t4mumGZto5c7DrBpvWoie+Sn3P4sLEzUGeYhRElWuFEf8K1S1EfvD1vixCQ== +eslint-config-standard@^13.0.1: + version "13.0.1" + resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-13.0.1.tgz#c9c6ffe0cfb8a51535bc5c7ec9f70eafb8c6b2c0" + integrity sha512-zLKp4QOgq6JFgRm1dDCVv1Iu0P5uZ4v5Wa4DTOkg2RFMxdCX/9Qf7lz9ezRj2dBRa955cWQF/O/LWEiYWAHbTw== + eslint-import-resolver-node@^0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz#58f15fb839b8d0576ca980413476aab2472db66a" @@ -3109,7 +3114,7 @@ eslint-module-utils@^2.4.0: debug "^2.6.8" pkg-dir "^2.0.0" -eslint-plugin-es@^1.3.1: +eslint-plugin-es@^1.3.1, eslint-plugin-es@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-1.4.0.tgz#475f65bb20c993fc10e8c8fe77d1d60068072da6" integrity sha512-XfFmgFdIUDgvaRAlaXUkxrRg5JSADoRC8IkKLc/cISeR3yHVMefFHQZpcyXXEUUPHfy5DwviBcrfqlyqEwlQVw== @@ -3117,7 +3122,7 @@ eslint-plugin-es@^1.3.1: eslint-utils "^1.3.0" regexpp "^2.0.1" -eslint-plugin-import@^2.14.0: +eslint-plugin-import@^2.14.0, eslint-plugin-import@^2.18.2: version "2.18.2" resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.18.2.tgz#02f1180b90b077b33d447a17a2326ceb400aceb6" integrity sha512-5ohpsHAiUBRNaBWAF08izwUGlbrJoJJ+W9/TBwsGoR1MnlgfwMIKrFeSjWbt6moabiXW9xNvtFz+97KHRfI4HQ== @@ -3146,7 +3151,19 @@ eslint-plugin-node@^8.0.0: resolve "^1.8.1" semver "^5.5.0" -eslint-plugin-promise@^4.0.1: +eslint-plugin-node@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-9.1.0.tgz#f2fd88509a31ec69db6e9606d76dabc5adc1b91a" + integrity sha512-ZwQYGm6EoV2cfLpE1wxJWsfnKUIXfM/KM09/TlorkukgCAwmkgajEJnPCmyzoFPQQkmvo5DrW/nyKutNIw36Mw== + dependencies: + eslint-plugin-es "^1.4.0" + eslint-utils "^1.3.1" + ignore "^5.1.1" + minimatch "^3.0.4" + resolve "^1.10.1" + semver "^6.1.0" + +eslint-plugin-promise@^4.0.1, eslint-plugin-promise@^4.2.1: version "4.2.1" resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-4.2.1.tgz#845fd8b2260ad8f82564c1222fce44ad71d9418a" integrity sha512-VoM09vT7bfA7D+upt+FjeBO5eHIJQBUWki1aPvB+vbNiHS3+oGIJGIeyBtKQTME6UPXXy3vV07OL1tHd3ANuDw== @@ -3156,13 +3173,6 @@ eslint-plugin-standard@^4.0.0: resolved "https://registry.yarnpkg.com/eslint-plugin-standard/-/eslint-plugin-standard-4.0.0.tgz#f845b45109c99cd90e77796940a344546c8f6b5c" integrity sha512-OwxJkR6TQiYMmt1EsNRMe5qG3GsbjlcOhbGUBY4LtavF9DsLaTcoR+j2Tdjqi23oUwKNUqX7qcn5fPStafMdlA== -eslint-plugin-vue@5.2.2: - version "5.2.2" - resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-5.2.2.tgz#86601823b7721b70bc92d54f1728cfc03b36283c" - integrity sha512-CtGWH7IB0DA6BZOwcV9w9q3Ri6Yuo8qMjx05SmOGJ6X6E0Yo3y9E/gQ5tuNxg2dEt30tRnBoFTbvtmW9iEoyHA== - dependencies: - vue-eslint-parser "^5.0.0" - eslint-plugin-vue@^4.7.1: version "4.7.1" resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-4.7.1.tgz#c829b9fc62582c1897b5a0b94afd44ecca511e63" @@ -3170,6 +3180,13 @@ eslint-plugin-vue@^4.7.1: dependencies: vue-eslint-parser "^2.0.3" +eslint-plugin-vue@^5.2.3: + version "5.2.3" + resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-5.2.3.tgz#3ee7597d823b5478804b2feba9863b1b74273961" + integrity sha512-mGwMqbbJf0+VvpGR5Lllq0PMxvTdrZ/ZPjmhkacrCHbubJeJOt+T6E3HUzAifa2Mxi7RSdJfC9HFpOeSYVMMIw== + dependencies: + vue-eslint-parser "^5.0.0" + eslint-scope@3.7.1: version "3.7.1" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.1.tgz#3d63c3edfda02e06e01a452ad88caacc7cdcb6e8" @@ -3214,49 +3231,6 @@ eslint-visitor-keys@^1.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== -eslint@6.1.x: - version "6.1.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.1.0.tgz#06438a4a278b1d84fb107d24eaaa35471986e646" - integrity sha512-QhrbdRD7ofuV09IuE2ySWBz0FyXCq0rriLTZXZqaWSI79CVtHVRdkFuFTViiqzZhkCgfOh9USpriuGN2gIpZDQ== - dependencies: - "@babel/code-frame" "^7.0.0" - ajv "^6.10.0" - chalk "^2.1.0" - cross-spawn "^6.0.5" - debug "^4.0.1" - doctrine "^3.0.0" - eslint-scope "^5.0.0" - eslint-utils "^1.3.1" - eslint-visitor-keys "^1.0.0" - espree "^6.0.0" - esquery "^1.0.1" - esutils "^2.0.2" - file-entry-cache "^5.0.1" - functional-red-black-tree "^1.0.1" - glob-parent "^5.0.0" - globals "^11.7.0" - ignore "^4.0.6" - import-fresh "^3.0.0" - imurmurhash "^0.1.4" - inquirer "^6.4.1" - is-glob "^4.0.0" - js-yaml "^3.13.1" - json-stable-stringify-without-jsonify "^1.0.1" - levn "^0.3.0" - lodash "^4.17.14" - minimatch "^3.0.4" - mkdirp "^0.5.1" - natural-compare "^1.4.0" - optionator "^0.8.2" - progress "^2.0.0" - regexpp "^2.0.1" - semver "^6.1.2" - strip-ansi "^5.2.0" - strip-json-comments "^3.0.1" - table "^5.2.3" - text-table "^0.2.0" - v8-compile-cache "^2.0.3" - eslint@^4.19.1: version "4.19.1" resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.19.1.tgz#32d1d653e1d90408854bfb296f076ec7e186a300" @@ -3301,6 +3275,49 @@ eslint@^4.19.1: table "4.0.2" text-table "~0.2.0" +eslint@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.1.0.tgz#06438a4a278b1d84fb107d24eaaa35471986e646" + integrity sha512-QhrbdRD7ofuV09IuE2ySWBz0FyXCq0rriLTZXZqaWSI79CVtHVRdkFuFTViiqzZhkCgfOh9USpriuGN2gIpZDQ== + dependencies: + "@babel/code-frame" "^7.0.0" + ajv "^6.10.0" + chalk "^2.1.0" + cross-spawn "^6.0.5" + debug "^4.0.1" + doctrine "^3.0.0" + eslint-scope "^5.0.0" + eslint-utils "^1.3.1" + eslint-visitor-keys "^1.0.0" + espree "^6.0.0" + esquery "^1.0.1" + esutils "^2.0.2" + file-entry-cache "^5.0.1" + functional-red-black-tree "^1.0.1" + glob-parent "^5.0.0" + globals "^11.7.0" + ignore "^4.0.6" + import-fresh "^3.0.0" + imurmurhash "^0.1.4" + inquirer "^6.4.1" + is-glob "^4.0.0" + js-yaml "^3.13.1" + json-stable-stringify-without-jsonify "^1.0.1" + levn "^0.3.0" + lodash "^4.17.14" + minimatch "^3.0.4" + mkdirp "^0.5.1" + natural-compare "^1.4.0" + optionator "^0.8.2" + progress "^2.0.0" + regexpp "^2.0.1" + semver "^6.1.2" + strip-ansi "^5.2.0" + strip-json-comments "^3.0.1" + table "^5.2.3" + text-table "^0.2.0" + v8-compile-cache "^2.0.3" + espree@^3.5.2, espree@^3.5.4: version "3.5.4" resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.4.tgz#b0f447187c8a8bed944b815a660bddf5deb5d1a7" @@ -4305,7 +4322,7 @@ ignore@^4.0.3, ignore@^4.0.6: resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== -ignore@^5.0.2: +ignore@^5.0.2, ignore@^5.1.1: version "5.1.2" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.2.tgz#e28e584d43ad7e92f96995019cc43b9e1ac49558" integrity sha512-vdqWBp7MyzdmHkkRWV5nY+PfGRbYbahfuvsBCh277tq+w9zyNi7h5CYJCK0kmzti9kU+O/cB7sE8HvKv6aXAKQ== @@ -6915,7 +6932,7 @@ resolve-url@^0.2.1: resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= -resolve@^1.10.0, resolve@^1.11.0, resolve@^1.3.2, resolve@^1.4.0, resolve@^1.5.0, resolve@^1.8.1: +resolve@^1.10.0, resolve@^1.10.1, resolve@^1.11.0, resolve@^1.3.2, resolve@^1.4.0, resolve@^1.5.0, resolve@^1.8.1: version "1.11.1" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.11.1.tgz#ea10d8110376982fef578df8fc30b9ac30a07a3e" integrity sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw== @@ -7064,6 +7081,11 @@ semver@^6.0.0, semver@^6.1.1, semver@^6.1.2: resolved "https://registry.yarnpkg.com/semver/-/semver-6.2.0.tgz#4d813d9590aaf8a9192693d6c85b9344de5901db" integrity sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A== +semver@^6.1.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + send@0.17.1: version "0.17.1" resolved "https://registry.yarnpkg.com/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8" From 3bb0b6e069824f67616b1aec79d65d0bda045e1c Mon Sep 17 00:00:00 2001 From: leotabosa Date: Wed, 24 Jul 2019 18:02:45 -0300 Subject: [PATCH 8/9] =?UTF-8?q?Corre=C3=A7=C3=B5es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 30 ++++++++++++++------- src/components/Card.vue | 16 +++++------ src/components/Content.vue | 3 ++- src/components/Error.vue | 40 +++++++++++++++++++++++++++ src/components/Footer.vue | 55 ++++++++++++++++++++------------------ src/components/Header.vue | 1 + src/components/List.vue | 33 ++++++++++++++--------- src/components/Loader.vue | 3 ++- src/components/Order.vue | 43 ++++++++++++++++++++++++++--- src/components/Search.vue | 11 +------- src/components/Toolbar.vue | 4 +-- 11 files changed, 166 insertions(+), 73 deletions(-) create mode 100644 src/components/Error.vue diff --git a/src/App.vue b/src/App.vue index 868260c..93c2489 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,8 @@ + diff --git a/src/components/Error.vue b/src/components/Error.vue new file mode 100644 index 0000000..17611de --- /dev/null +++ b/src/components/Error.vue @@ -0,0 +1,40 @@ + + + + + diff --git a/src/components/Footer.vue b/src/components/Footer.vue index 2eba550..b0681f8 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -1,31 +1,34 @@ diff --git a/src/components/Header.vue b/src/components/Header.vue index 2a7c8a0..43f87c7 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -16,6 +16,7 @@ nav { border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; + border-bottom: 3px solid green; } .bg-custom { background-color: black; diff --git a/src/components/List.vue b/src/components/List.vue index 06a89be..2fa000e 100644 --- a/src/components/List.vue +++ b/src/components/List.vue @@ -1,16 +1,16 @@ + diff --git a/src/components/Search.vue b/src/components/Search.vue index a3cc585..597a411 100644 --- a/src/components/Search.vue +++ b/src/components/Search.vue @@ -42,4 +42,9 @@ export default { padding-left: 10px; margin-right: auto; } +@media screen and (max-width: 768px) { + .form-inline { + width: 26.8vw; + } +}