Skip to content

Commit eaa9d85

Browse files
authored
chore: format with prettier (#2768)
1 parent 7e4d61d commit eaa9d85

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed

.github/commit-convention.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
Messages must be matched by the following regex:
88

9-
``` js
9+
<!-- prettier-ignore -->
10+
```js
1011
/^(revert: )?(feat|fix|docs|dx|refactor|perf|test|workflow|build|ci|chore|types|wip|release|deps)(\(.+\))?: .{1,50}/
1112
```
1213

@@ -44,7 +45,7 @@ This reverts commit 667ecc1654a317a13331b17617d973392f415f02.
4445

4546
### Full Message Format
4647

47-
A commit message consists of a **header**, **body** and **footer**. The header has a **type**, **scope** and **subject**:
48+
A commit message consists of a **header**, **body** and **footer**. The header has a **type**, **scope** and **subject**:
4849

4950
```
5051
<type>(<scope>): <subject>
@@ -74,9 +75,9 @@ The scope could be anything specifying the place of the commit change. For examp
7475

7576
The subject contains a succinct description of the change:
7677

77-
* use the imperative, present tense: "change" not "changed" nor "changes"
78-
* don't capitalize the first letter
79-
* no dot (.) at the end
78+
- use the imperative, present tense: "change" not "changed" nor "changes"
79+
- don't capitalize the first letter
80+
- no dot (.) at the end
8081

8182
### Body
8283

.github/contributing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ To development and test the core `vite` package:
1212

1313
2. Run `yarn link` in `packages/vite`. This links `vite` globally so that you can:
1414

15-
- Run `yarn link vite` in another Vite project to use the locally built Vite;
16-
- Use the `vite` binary anywhere.
15+
- Run `yarn link vite` in another Vite project to use the locally built Vite;
16+
- Use the `vite` binary anywhere.
1717

1818
## Running Tests
1919

.github/workflows/issue-close-require.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Issue Close Require
22

33
on:
44
schedule:
5-
- cron: "0 0 * * *"
5+
- cron: '0 0 * * *'
66

77
jobs:
88
close-issues:

.prettierignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
docs/.vitepress/dist/
2+
packages/vite/dist/
3+
packages/plugin-vue/dist/
4+
packages/*/CHANGELOG.md
5+
LICENSE.md
6+
.prettierrc

CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ Project maintainers who do not follow or enforce the Code of Conduct in good fai
4242

4343
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
4444

45-
[homepage]: https://www.contributor-covenant.org
45+
[homepage]: https://www.contributor-covenant.org

packages/plugin-vue-jsx/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export default {
1818
## Options
1919

2020
See [@vue/babel-plugin-jsx](https://github.com/vuejs/jsx-next).
21+
2122
## HMR Detection
2223

2324
This plugin supports HMR of Vue JSX components. The detection requirements are:
@@ -53,4 +54,4 @@ export const Bar = { ... }
5354

5455
// not exported
5556
const Foo = defineComponent(...)
56-
```
57+
```

0 commit comments

Comments
 (0)