-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: migrate typescript * test: fix test cases * chore: impelement type of wrraped console * chore: eslint for typescript * chore(deps): add deps for typescript-eslint * chore: commit forgotten package-lock.json * test: fix test case for GHActions * chore: add `pretest` * chore: add eslint ignore comment * Update lib/log.ts Co-authored-by: Baoshuo Ren <i@baoshuo.ren> * fix: main entry * add `default export` to createLogger` Co-authored-by: Baoshuo Ren <i@baoshuo.ren>
- Loading branch information
1 parent
8f9dff3
commit a0ce3ee
Showing
10 changed files
with
681 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules/ | ||
coverage/ | ||
tmp/ | ||
tmp/ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
{ | ||
"extends": "hexo", | ||
"root": true | ||
"root": true, | ||
"extends": "hexo/ts.js", | ||
"parserOptions": { | ||
"sourceType": "module", | ||
"ecmaVersion": 2020 | ||
}, | ||
"rules": { | ||
"@typescript-eslint/no-explicit-any": 0, | ||
"@typescript-eslint/ban-ts-comment": 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ node_modules/ | |
tmp/ | ||
*.log | ||
.idea/ | ||
.nyc_output/ | ||
.nyc_output/ | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.