Files
cnpmcore/.oxlintrc.json
MK (fengmk2) e5162f20aa fix: improve TypeScript type definitions across codebase (#844)
This commit enhances type safety and fixes type-related issues
throughout the project including:
- Updated type definitions in entities, repositories, and models
- Improved type annotations in services and controllers
- Fixed type issues in adapters and utilities
- Enhanced test file type definitions
- Added typings/index.d.ts for global type declarations

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-23 00:58:59 +08:00

25 lines
746 B
JSON

{
"$schema": "./node_modules/oxlint/configuration_schema.json",
// FIXME: @eggjs/oxlint-config too strict, disable it for now, will fix it later
// "extends": ["./node_modules/@eggjs/oxlint-config/.oxlintrc.json"],
"env": {
"node": true,
"mocha": true
},
"rules": {
// Project-specific overrides
"max-params": ["error", 6],
"no-console": "warn",
"import/no-anonymous-default-export": "error",
"no-unassigned-import": "allow",
"new-cap": "allow",
"class-methods-use-this": "allow",
"import/no-named-export": "allow",
"unicorn/no-array-sort": "allow",
"no-param-reassign": "allow",
"unicorn/prefer-at": "allow",
"no-process-env": "allow"
},
"ignorePatterns": ["index.d.ts"]
}