Skip to content

Commit

Permalink
refactor: updatee eslint-plugin-vue and fix error on vue/no-reserved-…
Browse files Browse the repository at this point in the history
…component-names
  • Loading branch information
MichaelCurrin committed Jun 2, 2022
1 parent 07947d8 commit 80ef54f
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@vue/vue3-jest": "^27.0.0",
"eslint": "^8.13.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.7.0",
"eslint-plugin-vue": "^9.1.0",
"prettier": "^2.4.1",
"ts-jest": "^27.1.4",
"typescript": "^4.6.3",
Expand Down
6 changes: 3 additions & 3 deletions src/components/Results.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@
<div>
<h3>Code</h3>

<Code :code="result" />
<CodeItem :code="result" />
</div>
</div>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import Code from "@/components/Code.vue";
import CodeItem from "@/components/Code.vue";
import Markdown from "@/components/Markdown.vue";
export default defineComponent({
name: "ResultsItem",
components: {
Markdown,
Code,
CodeItem,
},
props: {
result: { type: String, required: true },
Expand Down
6 changes: 3 additions & 3 deletions src/views/Catalogue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<div v-for="item in renderedBadges" :key="item">
<Markdown :content="item"></Markdown>

<Code :code="item" />
<CodeItem :code="item" />
<br />
</div>
</div>
Expand All @@ -42,15 +42,15 @@
<script lang="ts">
import { defineComponent } from "vue";
import Code from "@/components/Code.vue";
import CodeItem from "@/components/Code.vue";
import Markdown from "@/components/Markdown.vue";
import { renderBadges } from "@/core/catalogue";
export default defineComponent({
name: "CatalogueItem",
components: {
Markdown,
Code,
CodeItem,
},
computed: {
renderedBadges() {
Expand Down
35 changes: 27 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2895,17 +2895,18 @@ eslint-plugin-prettier@^4.0.0:
dependencies:
prettier-linter-helpers "^1.0.0"

eslint-plugin-vue@^8.7.0:
version "8.7.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-8.7.1.tgz#f13c53547a0c9d64588a675cc5ecc6ccaf63703f"
integrity sha512-28sbtm4l4cOzoO1LtzQPxfxhQABararUb1JtqusQqObJpWX2e/gmVyeYVfepizPFne0Q5cILkYGiBoV36L12Wg==
eslint-plugin-vue@^9.1.0:
version "9.1.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-9.1.0.tgz#b528941325e26a24bc5d5c5030c0a8996c36659c"
integrity sha512-EPCeInPicQ/YyfOWJDr1yfEeSNoFCMzUus107lZyYi37xejdOolNzS5MXGXp8+9bkoKZMdv/1AcZzQebME6r+g==
dependencies:
eslint-utils "^3.0.0"
natural-compare "^1.4.0"
nth-check "^2.0.1"
postcss-selector-parser "^6.0.9"
semver "^7.3.5"
vue-eslint-parser "^8.0.1"
vue-eslint-parser "^9.0.1"
xml-name-validator "^4.0.0"

[email protected], eslint-scope@^5.1.1:
version "5.1.1"
Expand Down Expand Up @@ -2992,7 +2993,7 @@ eslint@^8.13.0:
text-table "^0.2.0"
v8-compile-cache "^2.0.3"

espree@^9.0.0, espree@^9.3.2:
espree@^9.0.0, espree@^9.3.1, espree@^9.3.2:
version "9.3.2"
resolved "https://registry.yarnpkg.com/espree/-/espree-9.3.2.tgz#f58f77bd334731182801ced3380a8cc859091596"
integrity sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA==
Expand Down Expand Up @@ -5982,7 +5983,7 @@ selfsigned@^2.0.1:
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==

[email protected], semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7:
[email protected], semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.6, semver@^7.3.7:
version "7.3.7"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f"
integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==
Expand Down Expand Up @@ -6780,7 +6781,7 @@ vary@~1.1.2:
resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=

vue-eslint-parser@^8.0.0, vue-eslint-parser@^8.0.1:
vue-eslint-parser@^8.0.0:
version "8.3.0"
resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-8.3.0.tgz#5d31129a1b3dd89c0069ca0a1c88f970c360bd0d"
integrity sha512-dzHGG3+sYwSf6zFBa0Gi9ZDshD7+ad14DGOdTLjruRVgZXe2J+DcZ9iUhyR48z5g1PqRa20yt3Njna/veLJL/g==
Expand All @@ -6793,6 +6794,19 @@ vue-eslint-parser@^8.0.0, vue-eslint-parser@^8.0.1:
lodash "^4.17.21"
semver "^7.3.5"

vue-eslint-parser@^9.0.1:
version "9.0.2"
resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-9.0.2.tgz#d2535516f3f55adb387939427fe741065eb7948a"
integrity sha512-uCPQwTGjOtAYrwnU+76pYxalhjsh7iFBsHwBqDHiOPTxtICDaraO4Szw54WFTNZTAEsgHHzqFOu1mmnBOBRzDA==
dependencies:
debug "^4.3.4"
eslint-scope "^7.1.1"
eslint-visitor-keys "^3.3.0"
espree "^9.3.1"
esquery "^1.4.0"
lodash "^4.17.21"
semver "^7.3.6"

vue-hot-reload-api@^2.3.0:
version "2.3.4"
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz#532955cc1eb208a3d990b3a9f9a70574657e08f2"
Expand Down Expand Up @@ -7162,6 +7176,11 @@ xml-name-validator@^3.0.0:
resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"
integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==

xml-name-validator@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-4.0.0.tgz#79a006e2e63149a8600f15430f0a4725d1524835"
integrity sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==

xmlchars@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
Expand Down

0 comments on commit 80ef54f

Please sign in to comment.