Skip to content

Commit

Permalink
chore: ignore markdown files and package.json for prettier in root (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
chouchouji authored Oct 28, 2024
1 parent 8e7c82a commit 599517b
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ docs/.vitepress/dist/**

pnpm-lock.yaml
pnpm-workspace.yaml
package.json

CHANGELOG.md
README.md
README.zh-CN.md
8 changes: 2 additions & 6 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
--vp-c-brand-1: #cf8040;
--vp-c-brand-2: #a06433;
--vp-button-brand-bg: #cf8040;
--vp-home-hero-image-background-image: linear-gradient(
-45deg,
#d1841f60 30%,
#edcb3260
);
--vp-home-hero-image-background-image: linear-gradient(-45deg, #d1841f60 30%, #edcb3260);
--vp-home-hero-image-filter: blur(30px);
}
}
2 changes: 1 addition & 1 deletion docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import DefaultTheme from 'vitepress/theme'
import './custom.css'

export default DefaultTheme
export default DefaultTheme
4 changes: 2 additions & 2 deletions docs/general/is-string.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ console.log(isString(123)) // return false

### Return

| Type |
| :--: |
| Type |
| :-------: |
| `boolean` |
4 changes: 3 additions & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
### Installation

::: code-group

```shell [npm]
npm i rattail -S
```
Expand All @@ -14,6 +15,7 @@ yarn add rattail
```shell [pnpm]
pnpm add rattail
```

:::

### Usage
Expand All @@ -22,4 +24,4 @@ pnpm add rattail
import { isString } from 'rattail'

console.log(isString('rattail'))
```
```
1 change: 0 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ hero:
- theme: alt
text: View On Github
link: https://github.com/varletjs/rattail


features:
- title: General
Expand Down
4 changes: 3 additions & 1 deletion docs/zh/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
### 安装

::: code-group

```shell [npm]
npm i rattail -S
```
Expand All @@ -14,6 +15,7 @@ yarn add rattail
```shell [pnpm]
pnpm add rattail
```

:::

### 使用
Expand All @@ -22,4 +24,4 @@ pnpm add rattail
import { isString } from 'rattail'

console.log(isString('rattail'))
```
```

0 comments on commit 599517b

Please sign in to comment.