Skip to content

Commit 85353a8

Browse files
committed
Add markdown files formatting
1 parent 9dc1307 commit 85353a8

File tree

2 files changed

+24
-20
lines changed

2 files changed

+24
-20
lines changed

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616

1717
<br />
1818

19-
[**Read the Docs**][docs] |
20-
[Edit the docs][docs-edit]
19+
[**Read the Docs**][docs] | [Edit the docs][docs-edit]
2120

2221
<br />
2322

@@ -46,13 +45,15 @@
4645

4746
## Installation
4847

49-
This module is distributed via npm and should be installed as one of your project's `devDependencies`:
48+
This module is distributed via npm and should be installed as one of your
49+
project's `devDependencies`:
5050

5151
```
5252
npm install --save-dev @testing-library/vue
5353
```
5454

55-
This library has `peerDependencies` listings for `Vue` and `vue-template-compiler`.
55+
This library has `peerDependencies` listings for `Vue` and
56+
`vue-template-compiler`.
5657

5758
You may also be interested in installing `jest-dom` so you can use
5859
[the custom Jest matchers](https://github.com/gnapse/jest-dom#readme).
@@ -69,16 +70,16 @@ You may also be interested in installing `jest-dom` so you can use
6970
</template>
7071

7172
<script>
72-
export default {
73-
data: () => ({
74-
count: 0
75-
}),
76-
methods: {
77-
increment () {
78-
this.count++
73+
export default {
74+
data: () => ({
75+
count: 0
76+
}),
77+
methods: {
78+
increment() {
79+
this.count++
80+
}
7981
}
8082
}
81-
}
8283
</script>
8384
```
8485

@@ -108,22 +109,21 @@ test('increments value on click', async () => {
108109

109110
### More examples
110111

111-
You'll find examples of testing with different situations and popular libraries in
112-
[the test directory][test-directory].
112+
You'll find examples of testing with different situations and popular libraries
113+
in [the test directory][test-directory].
113114

114115
Some included are:
115116

116-
* [`vuex`][vuex-example]
117-
* [`vue-router`][vue-router-example]
118-
* [`vee-validate`][vee-validate-example]
119-
* [`vue-i18n`][vue-i18n-example]
117+
- [`vuex`][vuex-example]
118+
- [`vue-router`][vue-router-example]
119+
- [`vee-validate`][vee-validate-example]
120+
- [`vue-i18n`][vue-i18n-example]
120121

121122
Feel free to contribute with more examples!
122123

123124
## Docs
124125

125-
[**Read the Docs**][docs] |
126-
[Edit the docs][docs-edit]
126+
[**Read the Docs**][docs] | [Edit the docs][docs-edit]
127127

128128
## License
129129

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@
8282
"*.{js,vue}": [
8383
"eslint --fix",
8484
"git add"
85+
],
86+
"*.{md,html}": [
87+
"prettier --write",
88+
"git add"
8589
]
8690
}
8791
}

0 commit comments

Comments
 (0)