Skip to content

Commit

Permalink
TS 重构,运行时使用 deno
Browse files Browse the repository at this point in the history
  • Loading branch information
EsunR committed Dec 11, 2024
1 parent b9ab523 commit 5d227d6
Show file tree
Hide file tree
Showing 15 changed files with 746 additions and 220 deletions.
12 changes: 9 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"extends": ["prettier"],
"plugins": ["prettier"],
"extends": [
"prettier",
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": ["prettier", "@typescript-eslint"],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
Expand All @@ -12,6 +17,7 @@
"rules": {
"prettier/prettier": "error",
"arrow-body-style": "off",
"prefer-arrow-callback": "off"
"prefer-arrow-callback": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}
13 changes: 13 additions & 0 deletions deno.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"tasks": {
"dev": "export NODE_ENV=development && deno run -R -W -N -E --allow-run ./src/index.ts"
},
"nodeModulesDir": "manual",
"lint": {
"rules": {
"exclude": [
"no-explicit-any"
]
}
}
}
Loading

0 comments on commit 5d227d6

Please sign in to comment.