We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99916c5 commit 84fddbaCopy full SHA for 84fddba
app/service/article.ts
@@ -10,7 +10,7 @@ export default class ArticeService extends Service {
10
constructor(ctx: Context) {
11
super(ctx);
12
this.context = ctx;
13
- this.colllection = new Colllection(ctx.db, 'article');
+ this.colllection = new Colllection(ctx.db, 'article')
14
}
15
16
public async getArtilceList(condition: Condition) {
package.json
@@ -16,6 +16,11 @@
"ii": "npm install --registry https://registry.npm.taobao.org",
17
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
18
},
19
+ "husky": {
20
+ "hooks": {
21
+ "pre-commit": "lint-staged"
22
+ }
23
+ },
24
"lint-staged": {
25
"app/**/*.ts,tsx" : [
26
"tslint .",
0 commit comments