- 4种存储引擎:Memory / IndexedDB / OPFS / Hybrid - 完整SQL支持:SELECT/INSERT/UPDATE/DELETE/JOIN/GROUP BY/HAVING/DISTINCT - Query Builder链式API + TypeScript泛型支持 - 聚合函数:COUNT/SUM/AVG/MIN/MAX - 事务、插件系统(14 hooks)、发布订阅、数据迁移、导入导出 - React/Vue框架集成 - 264个测试用例,93.46%覆盖率 - 零运行时依赖
29 lines
749 B
JSON
29 lines
749 B
JSON
{
|
|
"root": true,
|
|
"env": {
|
|
"browser": true,
|
|
"es2020": true,
|
|
"node": true,
|
|
"jest": true
|
|
},
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2020,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["@typescript-eslint"],
|
|
"extends": ["eslint:recommended"],
|
|
"rules": {
|
|
"no-console": "warn",
|
|
"no-unused-vars": "off",
|
|
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }],
|
|
"no-undef": "off",
|
|
"no-empty": "off",
|
|
"no-useless-escape": "off",
|
|
"no-control-regex": "off",
|
|
"no-regex-spaces": "off",
|
|
"no-constant-condition": ["warn", { "checkLoops": false }]
|
|
},
|
|
"ignorePatterns": ["dist/", "coverage/", "node_modules/"]
|
|
}
|