Skip to content

Commit

Permalink
fix: stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
karolis krusinskas committed Aug 3, 2022
1 parent cf64c50 commit 24c4eb9
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": [
"plugin:vue/base",
"@vue/eslint-config-typescript"
]
}
2 changes: 1 addition & 1 deletion components/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<script setup lang="ts">
defineProps<{
name: string;
name: string
}>()
defineEmits<{(event: 'click'): void }>()
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"postcss-html": "^1.5.0",
"stylelint": "^14.9.1",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recommended-vue": "^1.4.0",
"stylelint-config-standard": "^26.0.0",
"typescript": "^4.7.4"
},
Expand Down
13 changes: 11 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6811,12 +6811,21 @@ stylehacks@^5.1.0:
browserslist "^4.16.6"
postcss-selector-parser "^6.0.4"

stylelint-config-html@^1.1.0:
stylelint-config-html@>=1.0.0, stylelint-config-html@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/stylelint-config-html/-/stylelint-config-html-1.1.0.tgz#999db19aea713b7ff6dde92ada76e4c1bd812b66"
integrity sha512-IZv4IVESjKLumUGi+HWeb7skgO6/g4VMuAYrJdlqQFndgbj6WJAXPhaysvBiXefX79upBdQVumgYcdd17gCpjQ==

stylelint-config-recommended@^8.0.0:
stylelint-config-recommended-vue@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/stylelint-config-recommended-vue/-/stylelint-config-recommended-vue-1.4.0.tgz#0a182da17dc9e846e4bec65a7676ccf882b35964"
integrity sha512-DVJqyX2KvMCn9U0+keL12r7xlsH26K4Vg8NrIZuq5MoF7g82DpMp326Om4E0Q+Il1o+bTHuUyejf2XAI0iD04Q==
dependencies:
semver "^7.3.5"
stylelint-config-html ">=1.0.0"
stylelint-config-recommended ">=6.0.0"

stylelint-config-recommended@>=6.0.0, stylelint-config-recommended@^8.0.0:
version "8.0.0"
resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-8.0.0.tgz#7736be9984246177f017c39ec7b1cd0f19ae9117"
integrity sha512-IK6dWvE000+xBv9jbnHOnBq01gt6HGVB2ZTsot+QsMpe82doDQ9hvplxfv4YnpEuUwVGGd9y6nbaAnhrjcxhZQ==
Expand Down

0 comments on commit 24c4eb9

Please sign in to comment.