Skip to content

Commit

Permalink
chore: lint fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
FliPPeDround committed Jun 13, 2023
1 parent ea9e997 commit 01f34e1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@element-plus/interactive-docs",
"type": "module",
"private": true,
"packageManager": "pnpm@7.12.0",
"packageManager": "pnpm@8.6.1",
"scripts": {
"dev": "histoire dev",
"build": "histoire build",
Expand Down Expand Up @@ -31,6 +31,7 @@
"inquirer": "^9.1.5",
"lint-staged": "^13.2.1",
"pathe": "^0.3.9",
"pnpm": "8.6.1",
"sass": "^1.62.0",
"simple-git-hooks": "^2.8.1",
"taze": "^0.9.1",
Expand All @@ -42,11 +43,9 @@
"vue-tsc": "^1.4.2"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.{js,ts,tsx,vue,md}": [
"eslint --fix"
]
"*": "eslint --fix"
}
}
1 change: 1 addition & 0 deletions src/components/Basic/Layout/layout.story.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script setup lang="ts">
import { justifyOptions } from './constants'
// Basic Usage
const basicData = reactive({
span: 6,
Expand Down
1 change: 1 addition & 0 deletions src/components/Basic/Link/link.story.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { Edit } from '@element-plus/icons-vue'
import { isAttribute } from '@utils'
import { linkTypeList } from './constants'
// basic usage
const basicLinkData = reactive({
text: 'Link',
Expand Down
1 change: 1 addition & 0 deletions src/components/Data/Image/image.story.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script setup lang="ts">
import { fitList, urls } from './constants'
import { isAttribute } from '@/utils'
// Basic-Image
const basicImageData = reactive({
src: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
Expand Down

0 comments on commit 01f34e1

Please sign in to comment.