unimal-jp / spear

The spear OSS repository
https://late-cloud-6411.spearly.app
MIT License
10 stars 1 forks source link

Lint エラー対応 #211

Closed mantaroh closed 3 months ago

mantaroh commented 3 months ago

Overview:

/home/mantaroh/code/spear/packages/spear-cli/src/file/InMemoryFileManipulator.ts
  15:15  warning  'ret' is assigned a value but never used  @typescript-eslint/no-unused-vars
  74:37  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  82:34  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  98:14  warning  'pathPattern' is defined but never used   @typescript-eslint/no-unused-vars
  98:36  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/mantaroh/code/spear/packages/spear-cli/src/file/LocalFileManipulator.ts
  12:33  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  59:41  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  63:38  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/mantaroh/code/spear/packages/spear-cli/src/interfaces/FileManipulatorInterface.ts
  10:37  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  11:34  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  13:31  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/mantaroh/code/spear/packages/spear-cli/src/magic.ts
  246:30  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  246:40  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  246:51  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/mantaroh/code/spear/packages/spear-cli/src/utils/dom.ts
   87:28  warning  '_' is assigned a value but never used               @typescript-eslint/no-unused-vars
  175:39  warning  'i' is defined but never used                        @typescript-eslint/no-unused-vars
  198:27  warning  'i' is defined but never used                        @typescript-eslint/no-unused-vars
  259:39  warning  'i' is defined but never used                        @typescript-eslint/no-unused-vars
  260:15  error    'lastItem' is never reassigned. Use 'const' instead  prefer-const
  276:30  warning  'i' is defined but never used                        @typescript-eslint/no-unused-vars
  561:4   error    Unnecessary semicolon                                @typescript-eslint/no-extra-semi
  590:2   error    Unnecessary semicolon                                @typescript-eslint/no-extra-semi

/home/mantaroh/code/spear/packages/spear-cli/src/utils/file.ts
  28:39  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/mantaroh/code/spear/packages/spear-cli/src/utils/log.ts
  15:18  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  21:19  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  27:20  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/mantaroh/code/spear/packages/spear-cli/src/utils/util.ts
  57:38  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

✖ 27 problems (3 errors, 24 warnings)
  3 errors and 0 warnings potentially fixable with the `--fix` option.