- Extract 4756 source files from cli.js.map (57MB) - Set up Bun build system with bun:bundle feature flag shim - Configure 90+ compile-time feature flags matching production defaults - Inject MACRO constants (VERSION, BUILD_TIME, etc.) - Create stubs for private packages (color-diff-napi, modifiers-napi, etc.) - Install all public dependencies via pnpm - Patch commander v14 to allow multi-char short flags (-d2e) - Build output: dist/cli.js (22MB), verified working
31 lines
493 B
Plaintext
31 lines
493 B
Plaintext
{
|
|
"root": true,
|
|
|
|
"extends": "@ljharb",
|
|
|
|
"rules": {
|
|
"array-bracket-newline": 0,
|
|
"complexity": 0,
|
|
"eqeqeq": 1,
|
|
"func-style": [2, "declaration"],
|
|
"max-depth": 0,
|
|
"max-lines-per-function": 0,
|
|
"max-statements": 0,
|
|
"multiline-comment-style": 0,
|
|
"no-negated-condition": 1,
|
|
"no-param-reassign": 1,
|
|
"no-lonely-if": 1,
|
|
"no-shadow": 1,
|
|
"no-template-curly-in-string": 0,
|
|
},
|
|
|
|
"overrides": [
|
|
{
|
|
"files": "example/**",
|
|
"rules": {
|
|
"no-console": 0,
|
|
},
|
|
},
|
|
],
|
|
}
|