mirror of
https://github.com/certd/certd.git
synced 2026-05-14 20:17:32 +08:00
930aa355e8
重构acme-client模块,将原有JavaScript代码迁移至TypeScript 添加类型定义文件(.d.ts)和类型检查 更新构建配置和脚本以支持TypeScript编译 优化项目目录结构和模块导出方式 更新相关依赖和开发工具配置
41 lines
800 B
Plaintext
41 lines
800 B
Plaintext
{
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2022,
|
|
"sourceType": "module"
|
|
},
|
|
"ignorePatterns": [
|
|
"dist",
|
|
"node_modules"
|
|
],
|
|
"extends": [
|
|
"plugin:prettier/recommended",
|
|
"prettier"
|
|
],
|
|
"plugins": [
|
|
"eslint-plugin-import"
|
|
],
|
|
"env": {
|
|
"node": true,
|
|
"es2022": true,
|
|
"mocha": true
|
|
},
|
|
"rules": {
|
|
"prettier/prettier": "off",
|
|
"@typescript-eslint/no-var-requires": "off",
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
"@typescript-eslint/ban-ts-ignore": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
// "no-unused-expressions": "off",
|
|
"max-len": [
|
|
0,
|
|
160,
|
|
2,
|
|
{
|
|
"ignoreUrls": true
|
|
}
|
|
]
|
|
}
|
|
}
|