mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-01-11 06:38:14 -05:00
refactor(config.ts): improve initGlobalConfig function to accept a configPath parameter for flexibility feat(config.ts): enhance getConfig function to support separate paths for global and environment configurations test(config.test.ts): update tests to reflect changes in config handling and ensure proper functionality style(utils.ts): clean up code formatting for consistency and readability style(tsconfig.json): adjust formatting in tsconfig.json for better clarity and maintainability
31 lines
556 B
JSON
31 lines
556 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"lib": ["ES6", "ES2020"],
|
|
|
|
"module": "CommonJS",
|
|
|
|
"resolveJsonModule": true,
|
|
"moduleResolution": "Node",
|
|
|
|
"allowJs": true,
|
|
|
|
"outDir": "./out",
|
|
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
|
|
"skipLibCheck": true
|
|
},
|
|
"include": ["test/jest-setup.ts"],
|
|
"exclude": ["node_modules"],
|
|
"ts-node": {
|
|
"esm": true,
|
|
"experimentalSpecifierResolution": "node"
|
|
}
|
|
}
|