tp.Res preview

This commit is contained in:
zhbaor 2025-02-07 21:44:26 +08:00
commit dc5bedfc94
9 changed files with 3270 additions and 0 deletions

27
eslint.config.mjs Normal file
View file

@ -0,0 +1,27 @@
import globals from "globals";
export default [
{
files: ["**/*.js"],
languageOptions: {
globals: {
...globals.commonjs,
...globals.node,
...globals.mocha,
},
ecmaVersion: 2022,
sourceType: "module",
},
rules: {
"no-const-assign": "warn",
"no-this-before-super": "warn",
"no-undef": "warn",
"no-unreachable": "warn",
"no-unused-vars": "warn",
"constructor-super": "warn",
"valid-typeof": "warn",
},
},
];