Skip to content

Commit

Permalink
improve spelling check
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Nov 16, 2022
1 parent 204df2a commit 4c4ad33
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"ignorePaths": [
"**/coverage/**",
"**/node_modules/**",
"**/jsdoc/**",
"**/jsdoc/templates/*",
"**/*.{json}",
".cspell.json"
],
Expand Down
2 changes: 1 addition & 1 deletion jsdoc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const db = pgp(connection);
* `dc` = Database Context - optional parameter (see [Database] constructor).

Object `db` represents the [Database] protocol with lazy connection, i.e. only the actual query methods acquire
and release the connection automatically. Therefore you should create only one global/shared `db` object per connection details.
and release the connection automatically. Therefore, you should create only one global/shared `db` object per connection details.

It is best to initialize the library and create [Database] in its own module, see [Where should I initialize pg-promise].

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "lib/index.js",
"typings": "typescript/pg-promise.d.ts",
"scripts": {
"check-spelling": "cspell --config=.cspell.json \"**/*.{md,ts,js}\"",
"check-spelling": "cspell --config=.cspell.json \"**/*.{md,ts,js}\" --no-progress",
"coverage": "istanbul cover ./node_modules/jasmine-node/bin/jasmine-node test",
"doc": "jsdoc -c ./jsdoc/jsdoc.js ./jsdoc/README.md -t ./jsdoc/templates/custom",
"lint": "eslint ./lib ./test/*.js ./test/db --fix",
Expand Down

0 comments on commit 4c4ad33

Please sign in to comment.