DU4L / CTFNote

CTFNote is a collaborative tool aiming to help CTF teams to organise their work.
GNU General Public License v3.0
0 stars 0 forks source link

eslint unexpected any #33

Closed frereit closed 2 years ago

frereit commented 2 years ago
 yarn lint                           
yarn run v1.22.17
$ eslint --fix 'src/**/*.ts'
=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.5.0

YOUR TYPESCRIPT VERSION: 4.5.5

Please only submit bug reports when using the officially supported version.

=============
XXX/DU4L/CTFNote/api/src/plugins/hedgedocAuth.ts
    5:35  warning  'gql' is defined but never used               @typescript-eslint/no-unused-vars
    7:8   warning  'savepointWrapper' is defined but never used  @typescript-eslint/no-unused-vars
  100:12  warning  Unexpected any. Specify a different type      @typescript-eslint/no-explicit-any
  101:12  warning  Unexpected any. Specify a different type      @typescript-eslint/no-explicit-any
  102:9   warning  Unexpected any. Specify a different type      @typescript-eslint/no-explicit-any
  103:12  warning  Unexpected any. Specify a different type      @typescript-eslint/no-explicit-any
  104:3   warning  '_resolveInfo' is defined but never used      @typescript-eslint/no-unused-vars
  104:17  warning  Unexpected any. Specify a different type      @typescript-eslint/no-explicit-any
  126:5   warning  'resolve' is defined but never used           @typescript-eslint/no-unused-vars
  126:14  warning  Unexpected any. Specify a different type      @typescript-eslint/no-explicit-any
  127:5   warning  '_source' is defined but never used           @typescript-eslint/no-unused-vars
  128:5   warning  'args' is defined but never used              @typescript-eslint/no-unused-vars
  129:5   warning  'context' is defined but never used           @typescript-eslint/no-unused-vars
  129:14  warning  Unexpected any. Specify a different type      @typescript-eslint/no-explicit-any
  130:5   warning  '_resolveInfo' is defined but never used      @typescript-eslint/no-unused-vars
  137:14  warning  Unexpected any. Specify a different type      @typescript-eslint/no-explicit-any
  140:14  warning  Unexpected any. Specify a different type      @typescript-eslint/no-explicit-any
  141:5   warning  '_resolveInfo' is defined but never used      @typescript-eslint/no-unused-vars

XXX/DU4L/CTFNote/api/src/plugins/passwordCheck.ts
  25:18  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  26:18  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  27:15  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  28:9   warning  'context' is defined but never used       @typescript-eslint/no-unused-vars
  28:18  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  29:9   warning  '_resolveInfo' is defined but never used  @typescript-eslint/no-unused-vars
  29:23  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

✖ 25 problems (0 errors, 25 warnings)

These were all introduced by me :/ Will fix