Skip to content

lint: 60 problems #377

@traumschule

Description

@traumschule

yarn run v1.22.22
$ eslint --ext .ts ./src

src/mappings/token/index.ts
   82:55  warning  '_' is defined but never used             @typescript-eslint/no-unused-vars
  402:73  warning  Forbidden non-null assertion              @typescript-eslint/no-non-null-assertion
  462:73  warning  Forbidden non-null assertion              @typescript-eslint/no-non-null-assertion
  535:64  warning  Forbidden non-null assertion              @typescript-eslint/no-non-null-assertion
  595:64  warning  Forbidden non-null assertion              @typescript-eslint/no-non-null-assertion
  714:26  warning  'burnedAmount' is defined but never used  @typescript-eslint/no-unused-vars
  720:73  warning  Forbidden non-null assertion              @typescript-eslint/no-non-null-assertion
  759:64  warning  Forbidden non-null assertion              @typescript-eslint/no-non-null-assertion
  764:20  warning  Forbidden non-null assertion              @typescript-eslint/no-non-null-assertion
  800:20  warning  Forbidden non-null assertion              @typescript-eslint/no-non-null-assertion
  817:20  warning  Forbidden non-null assertion              @typescript-eslint/no-non-null-assertion
  836:15  warning  '_' is defined but never used             @typescript-eslint/no-unused-vars
  848:23  warning  Forbidden non-null assertion              @typescript-eslint/no-non-null-assertion
  848:23  warning  Forbidden non-null assertion              @typescript-eslint/no-non-null-assertion
                                                                                                         
src/processor.ts                                                                          
  382:5  warning  'indexesChecked' is assigned a value but never used. Allowed unused vars must match /^_/u  @typescript-eslint/no-unused-vars
                                                                                                         
src/scripts/generateMockData.ts                                                           
   98:53  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  117:72  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  154:25  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
                                                                                                         
src/scripts/seedDb.ts                                                                     
  30:18  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
                                                    
src/server-extension/resolvers/CreatorToken/index.ts
  269:18  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

src/server-extension/resolvers/CreatorToken/services.test.ts
   29:65  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   33:65  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   37:65  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   41:65  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   45:65  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   57:65  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   68:65  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   96:65  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  100:65  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  104:65  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  108:65  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  112:65  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

src/tests/compareState.ts
   34:23  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   35:79  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  248:40  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any 249:39  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  250:40  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  251:42  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  252:46  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  253:46  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  254:46  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

src/tests/integration/seedData.test.ts
  42:16  warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion
  43:16  warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion
  45:16  warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion
  46:16  warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion
  47:16  warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion

src/tests/integration/testUtils.ts
  171:15  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  172:11  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  182:17  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  183:13  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

src/utils/offchainState.ts
   23:46  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   23:56  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   86:62  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   87:54  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   88:67  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  112:31  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  265:29  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  417:38  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

src/utils/overlay.ts
  390:52  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  399:84  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

✖ 60 problems (0 errors, 60 warnings)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions