Skip to content

Commit c5f5b2d

Browse files
committed
chore: fix docs formatting
1 parent c7aac91 commit c5f5b2d

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

README.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ await client.connect();
3232
}
3333

3434
{
35-
const result =
36-
await client.queryArray`SELECT ID, NAME FROM PEOPLE WHERE ID = ${1}`;
35+
const result = await client
36+
.queryArray`SELECT ID, NAME FROM PEOPLE WHERE ID = ${1}`;
3737
console.log(result.rows); // [[1, 'Carlos']]
3838
}
3939

@@ -43,8 +43,8 @@ await client.connect();
4343
}
4444

4545
{
46-
const result =
47-
await client.queryObject`SELECT ID, NAME FROM PEOPLE WHERE ID = ${1}`;
46+
const result = await client
47+
.queryObject`SELECT ID, NAME FROM PEOPLE WHERE ID = ${1}`;
4848
console.log(result.rows); // [{id: 1, name: 'Carlos'}]
4949
}
5050

@@ -59,8 +59,8 @@ For more examples, visit the documentation available at
5959
The documentation is available on the deno-postgres website
6060
[https://deno-postgres.com/](https://deno-postgres.com/)
6161

62-
Join the [Discord](https://discord.gg/HEdTCvZUSf) as well! It's a good place
63-
to discuss bugs and features before opening issues.
62+
Join the [Discord](https://discord.gg/HEdTCvZUSf) as well! It's a good place to
63+
discuss bugs and features before opening issues.
6464

6565
## Contributing
6666

@@ -71,17 +71,16 @@ to discuss bugs and features before opening issues.
7171
- https://docs.docker.com/get-docker/
7272
- https://docs.docker.com/compose/install/
7373

74-
- You don't need `deno` installed in your machine to run the tests since it
75-
will be installed in the Docker container when you build it. However, you will
76-
need it to run the linter and formatter locally
74+
- You don't need `deno` installed in your machine to run the tests since it will
75+
be installed in the Docker container when you build it. However, you will need
76+
it to run the linter and formatter locally
7777

7878
- https://deno.land/
7979
- `deno upgrade --version 1.7.1`
8080
- `dvm install 1.7.1 && dvm use 1.7.1`
8181

82-
- You don't need to install Postgres locally on your machine to test
83-
the library, it will run as a service in the Docker container when you build
84-
it
82+
- You don't need to install Postgres locally on your machine to test the
83+
library, it will run as a service in the Docker container when you build it
8584

8685
### Running the tests
8786

@@ -97,8 +96,8 @@ The build step will check linting and formatting as well and report it to the
9796
command line
9897

9998
It is recommended that you don't rely on any previously initialized data for
100-
your tests instead create all the data you need at the moment of
101-
running the tests
99+
your tests instead create all the data you need at the moment of running the
100+
tests
102101

103102
For example, the following test will create a temporal table that will disappear
104103
once the test has been completed
@@ -166,10 +165,9 @@ When contributing to the repository, make sure to:
166165
explaining their usage
167166
3. All code must pass the format and lint checks enforced by `deno fmt` and
168167
`deno lint` respectively. The build will only pass the tests if these
169-
conditions are met. Ignore rules will be accepted in the code base when
170-
their respective justification is given in a comment
171-
4. All features and fixes must have a corresponding test added to be
172-
accepted
168+
conditions are met. Ignore rules will be accepted in the code base when their
169+
respective justification is given in a comment
170+
4. All features and fixes must have a corresponding test added to be accepted
173171

174172
## Maintainers guidelines
175173

@@ -183,4 +181,5 @@ preserved their individual licenses and copyrights.
183181

184182
Everything is licensed under the MIT License.
185183

186-
All additional work is copyright 2018 - 2022 — Bartłomiej Iwańczuk and Steven Guerrero — All rights reserved.
184+
All additional work is copyright 2018 - 2022 — Bartłomiej Iwańczuk and Steven
185+
Guerrero — All rights reserved.

0 commit comments

Comments
 (0)