Skip to content

Commit ee0436a

Browse files
authored
style: 🎨 markdownlint
style: markdownlint
2 parents bd73367 + a440ffa commit ee0436a

File tree

7 files changed

+15
-7
lines changed

7 files changed

+15
-7
lines changed

.markdownlint.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"no-inline-html": {
3+
"allowed_elements": ["ul", "li", "div", "img", "a", "br", "script", "Badge", "Home"]
4+
},
5+
"MD013": false,
6+
"MD041": false
7+
}

.markdownlintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
README.md
2+
README.zh-CN.md

packages/hooks/src/useBoolean/index.en-US.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ A hook that elegantly manages boolean state.
1010

1111
## Code demonstration
1212

13-
<demo src="./demo/demo.vue"
14-
language="vue"
15-
title="Basic usage"
13+
<demo src="./demo/demo.vue"
14+
language="vue"
15+
title="Basic usage"
1616
desc="Toggle boolean to receive default value."> </demo>
1717

1818
## API

packages/hooks/src/useEventEmitter/index.zh-CN.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ const event = useEventEmitter<T>();
3535
| --------------- | ---------------- | -------------------------------------- |-------------------------------------- |
3636
| global | 是否为全局 | `boolean` | `false` |
3737

38-
3938
### Result
4039

4140
| 参数 | 说明 | 类型 |

packages/hooks/src/useImmer/index.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { VueHooksPlusUseImmerResolver } from '@vue-hooks-plus/resolvers'
2727
[How to use](https://inhiblabcore.github.io/docs/hooks/en/guide/#%F0%9F%94%A8-usage)
2828

2929
> The `hook` is based on `immer` management status, `immer` will be installed to ensure normal work in the project
30-
30+
>
3131
> Independent installation `@vue-hooks-plus/use-immer`
3232
3333
## Basic Usage

packages/hooks/src/useImmer/index.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { VueHooksPlusUseImmerResolver } from '@vue-hooks-plus/resolvers'
2929
[使用方法](https://inhiblabcore.github.io/docs/hooks/guide/#%F0%9F%94%A8-%E4%BD%BF%E7%94%A8)
3030

3131
> `hook` 基于 `immer` 管理状态,会安装 `immer`保证在项目中正常工作
32-
32+
>
3333
> 独立安装 `@vue-hooks-plus/use-immer`
3434
3535
## 基本用法

packages/hooks/src/useRequest/docs/refreshDeps/index.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ source:
1313

1414
:::tip remark
1515

16-
When the automatic mode `manual` is not `true` and refreshDeps will take effect.
16+
When the automatic, mode `manual` is not `true` and refreshDeps will take effect.
1717

1818
:::
1919

0 commit comments

Comments
 (0)