Skip to content

Commit 2caf798

Browse files
committed
ci: fix pre-commit hook
1 parent f5736da commit 2caf798

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.husky/pre-commit

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
. "$(dirname "$0")/_/husky.sh"
33

44
npx lint-staged
5-
npm run lint

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A Prisma extension to store queries results in a temporary NoSQL cache. Currently supported storage options are standard memory and [AceBase](https://github.com/appy-one/acebase).
44

5-
## Getting Started
5+
## Getting Started
66

77
### Installation
88

@@ -140,7 +140,6 @@ The following methods can be used with cache:
140140
- `default`: default cache configuration.
141141
- `models`: models specific cache configuration.
142142

143-
144143
## Development
145144

146145
### Runnings Tests
@@ -157,4 +156,4 @@ Please, commit using commitizen so that [semantic-release](https://github.com/se
157156
git cz
158157
# or
159158
npm run commit
160-
```
159+
```

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"test:push-schema": "prisma db push --schema ./tests/prisma/schema.prisma",
1010
"build": "tsc -p tsconfig.build.json",
1111
"test": "vitest",
12-
"lint": "prettier --write . && eslint .",
12+
"lint": "prettier --check . && eslint .",
1313
"format": "prettier --write .",
1414
"postinstall": "husky install",
1515
"commit": "git-cz"
@@ -20,7 +20,9 @@
2020
"require": "./dist/src/index.js"
2121
}
2222
},
23-
"files": ["dist"],
23+
"files": [
24+
"dist"
25+
],
2426
"author": "BearToCode",
2527
"license": "ISC",
2628
"peerDependencies": {

0 commit comments

Comments
 (0)