Files
cnpmcore/.oxlintrc.json
MK (fengmk2) 324511d159 test: enable test shard (#839)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Improved CI parallelization and shard-aware job naming for faster,
clearer test runs.

* **Bug Fixes**
* More robust handling of binary paths and change-stream edge cases to
reduce rare failures.
* Prevented unintended data mutation and tightened minor
version-handling resilience.

* **Chores**
  * Streamlined test scripts and updated dependency resolution.
* Added Prettier ignore rules, relaxed selected lint rules, and small
build script formatting cleanup.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-10-07 22:14:14 +08:00

25 lines
637 B
JSON

{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"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"
},
"ignorePatterns": ["index.d.ts"]
}