3ru/gpt-translate

View on GitHub
src/translate.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function translateByCommand has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const translateByCommand = async (
  inputFilePath: string,
  outputFilePath: string,
  targetLang: string,
) => {
Severity: Minor
Found in src/translate.ts - About 1 hr to fix

    Function translateByManual has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    export const translateByManual = async (
      inputFiles: string[],
      outputFiles: string[],
      languages: string[],
    ) => {
    Severity: Minor
    Found in src/translate.ts - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status