Lint issues eslint:all

Upgrade to eslint as TSLint is now deprecated npx eslint src --ext .ts
 EddieBot git:(develop) ✗ npx eslint src --ext .ts

/Users/ej/Downloads/repos/EddieBot/src/chatty.ts
   1:9   error  There should be no space after '{'                                                 object-curly-spacing
   1:17  error  There should be no space before '}'                                                object-curly-spacing
   1:25  error  Strings must use doublequote                                                       @typescript-eslint/quotes
   3:20  error  Strings must use doublequote                                                       @typescript-eslint/quotes
   5:8   error  There should be no space after '{'                                                 object-curly-spacing
   5:9   error  Property name COMMAND_PREFIX must match one of the following formats: camelCase    @typescript-eslint/naming-convention
   5:23  error  There should be no space before '}'                                                object-curly-spacing
   7:1   error  Combine this with the previous 'const' statement                                   one-var
   9:8   error  Combine this with the previous 'const' statement                                   one-var
   9:30  error  Parameter should be a read only type                                               @typescript-eslint/prefer-readonly-parameter-types
   9:66  error  Block must be padded by blank lines                                                padded-blocks
  10:75  error  Block must be padded by blank lines                                                padded-blocks
  11:16  error  Block must be padded by blank lines                                                padded-blocks
  14:27  error  Unnecessary conditional, value is always falsy                                     @typescript-eslint/no-unnecessary-condition
  14:51  error  Block must be padded by blank lines                                                padded-blocks
  15:9   error  Unexpected `await` of a non-Promise (non-"Thenable") value                         @typescript-eslint/await-thenable
  15:15  error  Avoid referencing unbound methods which may cause unintentional scoping of `this`  @typescript-eslint/unbound-method
  15:36  error  Block must be padded by blank lines                                                padded-blocks
  20:9   error  Block must be padded by blank lines                                                padded-blocks
  21:9   error  Unary operator '++' used                                                           no-plusplus
  21:38  error  Block must be padded by blank lines                                                padded-blocks
  22:13  error  Block must be padded by blank lines                                                padded-blocks
  24:13  error  Unquoted property 'messageCount' found                                             quote-props
  24:28  error  Unexpected trailing comma                                                          comma-dangle
  25:11  error  Block must be padded by blank lines                                                padded-blocks
  28:5   error  Comments should not begin with a lowercase character                               capitalized-comments
  30:32  error  Block must be padded by blank lines                                                padded-blocks

/Users/ej/Downloads/repos/EddieBot/src/client.ts
  1:9   error  There should be no space after '{'                   object-curly-spacing
  1:16  error  There should be no space before '}'                  object-curly-spacing
  1:24  error  Strings must use doublequote                         @typescript-eslint/quotes
  3:1   error  This line has a length of 91. Maximum allowed is 80  max-len
  3:43  error  There should be no space after '{'                   object-curly-spacing
  3:44  error  Unquoted property 'partials' found                   quote-props
  3:55  error  Strings must use doublequote                         @typescript-eslint/quotes
  3:65  error  There should be a linebreak after this element       array-element-newline
  3:66  error  Strings must use doublequote                         @typescript-eslint/quotes
  3:76  error  There should be a linebreak after this element       array-element-newline
  3:77  error  Strings must use doublequote                         @typescript-eslint/quotes
  3:88  error  There should be no space before '}'                  object-curly-spacing

/Users/ej/Downloads/repos/EddieBot/src/commandHandlers/codeOfConduct.ts
   1:9   error  There should be no space after '{'                                                                     object-curly-spacing
   1:22  error  There should be no space before '}'                                                                    object-curly-spacing
   1:30  error  Strings must use doublequote                                                                           @typescript-eslint/quotes
   3:1   error  This line has a length of 91. Maximum allowed is 80                                                    max-len
   3:31  error  Parameter 'arg' is declared but its value is never read                                                @typescript-eslint/no-unused-vars-experimental
   3:44  error  Parameter should be a read only type                                                                   @typescript-eslint/prefer-readonly-parameter-types
   3:88  error  Async arrow function has no 'await' expression                                                         @typescript-eslint/require-await
   3:91  error  Block must be padded by blank lines                                                                    padded-blocks
   3:91  error  Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`  arrow-body-style
   4:1   error  Expected indentation of 4 spaces but found 2                                                           @typescript-eslint/indent
   5:1   error  Expected indentation of 8 spaces but found 4                                                           @typescript-eslint/indent
   5:5   error  Expected dot to be on same line as object                                                              dot-location
   5:15  error  Strings must use doublequote                                                                           @typescript-eslint/quotes
   6:1   error  This line has a length of 97. Maximum allowed is 80                                                    max-len
   6:1   error  Expected indentation of 8 spaces but found 4                                                           @typescript-eslint/indent
   6:5   error  Expected dot to be on same line as object                                                              dot-location
   9:1   error  This line has a length of 81. Maximum allowed is 80                                                    max-len
  15:1   error  Expected indentation of 8 spaces but found 4                                                           @typescript-eslint/indent
  15:5   error  Expected dot to be on same line as object                                                              dot-location
  15:15  error  Strings must use doublequote                                                                           @typescript-eslint/quotes
  15:22  error  There should be a line break after this argument                                                       function-call-argument-newline
  15:23  error  Strings must use doublequote                                                                           @typescript-eslint/quotes
  15:36  error  There should be a line break after this argument                                                       function-call-argument-newline
  16:1   error  Expected indentation of 8 spaces but found 4                                                           @typescript-eslint/indent
  16:5   error  Expected dot to be on same line as object                                                              dot-location
  17:1   error  Expected indentation of 12 spaces but found 6                                                          @typescript-eslint/indent
  17:7   error  Strings must use doublequote                                                                           @typescript-eslint/quotes
  18:1   error  Expected indentation of 12 spaces but found 6                                                          @typescript-eslint/indent
  18:7   error  Strings must use doublequote                                                                           @typescript-eslint/quotes
  19:1   error  Expected indentation of 12 spaces but found 6                                                          @typescript-eslint/indent
  19:11  error  Unexpected trailing comma                                                                              comma-dangle
  20:1   error  Expected indentation of 8 spaces but found 4                                                           @typescript-eslint/indent
  20:7   error  Block must be padded by blank lines                                                                    padded-blocks
  23:8   error  Combine this with the previous 'const' statement                                                       one-var
  23:28  error  Strings must use doublequote                                                                           @typescript-eslint/quotes
  25:8   error  Combine this with the previous 'const' statement                                                       one-var
  25:26  error  Strings must use doublequote                                                                           @typescript-eslint/quotes
  25:32  error  There should be a linebreak after this element                                                         array-element-newline
  25:33  error  Strings must use doublequote                                                                           @typescript-eslint/quotes
  27:8   error  Combine this with the previous 'const' statement                                                       one-var
  27:14  error  Use array destructuring                                                                                prefer-destructuring
  27:31  error  No magic number: 0                                                                                @typescript-eslint/no-magic-numbers

/Users/ej/Downloads/repos/EddieBot/src/commandHandlers/fallback.ts
   1:9   error  There should be no space after '{'                                                                     object-curly-spacing
   1:22  error  There should be no space before '}'                                                                    object-curly-spacing
   1:30  error  Strings must use doublequote                                                                           @typescript-eslint/quotes
   3:20  error  Strings must use doublequote                                                                           @typescript-eslint/quotes
   5:8   error  There should be no space after '{'                                                                     object-curly-spacing
   5:9   error  Property name COMMAND_PREFIX must match one of the following formats: camelCase                        @typescript-eslint/naming-convention
   5:23  error  There should be no space before '}'                                                                    object-curly-spacing
   7:1   error  This line has a length of 92. Maximum allowed is 80                                                    max-len
   7:8   error  Combine this with the previous 'const' statement                                                       one-var
   7:32  error  Parameter 'arg' is declared but its value is never read                                                @typescript-eslint/no-unused-vars-experimental
   7:45  error  Parameter should be a read only type                                                                   @typescript-eslint/prefer-readonly-parameter-types
   7:89  error  Async arrow function has no 'await' expression                                                         @typescript-eslint/require-await
   7:92  error  Block must be padded by blank lines                                                                    padded-blocks
   7:92  error  Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`  arrow-body-style
   8:1   error  Expected indentation of 4 spaces but found 2                                                           @typescript-eslint/indent
   9:1   error  Expected indentation of 8 spaces but found 4                                                           @typescript-eslint/indent
   9:5   error  Expected dot to be on same line as object                                                              dot-location
   9:15  error  Strings must use doublequote                                                                           @typescript-eslint/quotes
  10:1   error  Expected indentation of 8 spaces but found 4                                                           @typescript-eslint/indent
  10:5   error  Expected dot to be on same line as object                                                              dot-location
  10:69  error  Block must be padded by blank lines                                                                    padded-blocks

/Users/ej/Downloads/repos/EddieBot/src/commandHandlers/help.ts
   1:9    error  There should be no space after '{'                                               object-curly-spacing
   1:22   error  There should be no space before '}'                                              object-curly-spacing
   1:30   error  Strings must use doublequote                                                     @typescript-eslint/quotes
   3:20   error  Strings must use doublequote                                                     @typescript-eslint/quotes
   4:1    error  Imports should be sorted alphabetically                                          sort-imports
   4:25   error  Strings must use doublequote                                                     @typescript-eslint/quotes
   6:8    error  There should be no space after '{'                                               object-curly-spacing
   6:9    error  Property name COMMAND_PREFIX must match one of the following formats: camelCase  @typescript-eslint/naming-convention
   6:23   error  There should be no space before '}'                                              object-curly-spacing
   8:1    error  This line has a length of 91. Maximum allowed is 80                              max-len
   8:8    error  Combine this with the previous 'const' statement                                 one-var
   8:31   error  Parameter 'arg' is declared but its value is never read                          @typescript-eslint/no-unused-vars-experimental
   8:44   error  Parameter should be a read only type                                             @typescript-eslint/prefer-readonly-parameter-types
   8:88   error  Async arrow function has no 'await' expression                                   @typescript-eslint/require-await
   8:91   error  Block must be padded by blank lines                                              padded-blocks
  10:9    error  Expected dot to be on same line as object                                        dot-location
  10:19   error  Strings must use doublequote                                                     @typescript-eslint/quotes
  11:9    error  Expected dot to be on same line as object                                        dot-location
  11:25   error  Strings must use doublequote                                                     @typescript-eslint/quotes
  14:9    error  Expected dot to be on same line as object                                        dot-location
  14:19   error  Expected commandItem to have a type annotation                                   @typescript-eslint/typedef
  15:1    error  This line has a length of 153. Maximum allowed is 80                             max-len
  15:13   error  Expected dot to be on same line as object                                        dot-location
  15:64   error  No magic number: 0                                                               @typescript-eslint/no-magic-numbers
  15:69   error  There should be a line break after this argument                                 function-call-argument-newline
  15:145  error  There should be a line break after this argument                                 function-call-argument-newline
  17:18   error  Block must be padded by blank lines                                              padded-blocks
  20:8    error  Combine this with the previous 'const' statement                                 one-var
  20:28   error  Strings must use doublequote                                                     @typescript-eslint/quotes
  22:8    error  Combine this with the previous 'const' statement                                 one-var
  22:26   error  Strings must use doublequote                                                     @typescript-eslint/quotes
  24:8    error  Combine this with the previous 'const' statement                                 one-var
  24:14   error  Use array destructuring                                                          prefer-destructuring
  24:31   error  No magic number: 0                                                               @typescript-eslint/no-magic-numbers

/Users/ej/Downloads/repos/EddieBot/src/commandHandlers/index.ts
  1:32  error  Strings must use doublequote                    @typescript-eslint/quotes
  2:23  error  Strings must use doublequote                    @typescript-eslint/quotes
  3:26  error  Strings must use doublequote                    @typescript-eslint/quotes
  4:24  error  Strings must use doublequote                    @typescript-eslint/quotes
  6:31  error  There should be a linebreak after this element  array-element-newline
  6:37  error  There should be a linebreak after this element  array-element-newline
  6:46  error  There should be a linebreak after this element  array-element-newline
  8:9   error  There should be no space after '{'              object-curly-spacing
  8:18  error  There should be no space before '}'             object-curly-spacing
  8:26  error  Strings must use doublequote                    @typescript-eslint/quotes

/Users/ej/Downloads/repos/EddieBot/src/commandHandlers/standup.ts
   1:9   error  There should be no space after '{'                    object-curly-spacing
   1:22  error  There should be no space before '}'                   object-curly-spacing
   1:30  error  Strings must use doublequote                          @typescript-eslint/quotes
   4:1   error  This line has a length of 110. Maximum allowed is 80  max-len
   9:1   error  This line has a length of 91. Maximum allowed is 80   max-len
   9:44  error  Parameter should be a read only type                  @typescript-eslint/prefer-readonly-parameter-types
   9:88  error  Async arrow function has no 'await' expression        @typescript-eslint/require-await
   9:91  error  Block must be padded by blank lines                   padded-blocks
  10:28  error  Strings must use doublequote                          @typescript-eslint/quotes
  12:15  error  No magic number: 0                                    @typescript-eslint/no-magic-numbers
  12:27  error  No magic number: 1                                    @typescript-eslint/no-magic-numbers
  12:31  error  Block must be padded by blank lines                   padded-blocks
  14:1   error  Expected indentation of 12 spaces but found 8         @typescript-eslint/indent
  14:9   error  Expected dot to be on same line as object             dot-location
  14:19  error  Strings must use doublequote                          @typescript-eslint/quotes
  15:1   error  Expected indentation of 12 spaces but found 8         @typescript-eslint/indent
  15:9   error  Expected dot to be on same line as object             dot-location
  15:25  error  Strings must use doublequote                          @typescript-eslint/quotes
  16:1   error  Expected indentation of 12 spaces but found 8         @typescript-eslint/indent
  16:9   error  Expected dot to be on same line as object             dot-location
  16:19  error  Strings must use doublequote                          @typescript-eslint/quotes
  16:27  error  There should be a line break after this argument      function-call-argument-newline
  16:28  error  Strings must use doublequote                          @typescript-eslint/quotes
  17:1   error  Expected indentation of 12 spaces but found 8         @typescript-eslint/indent
  17:9   error  Expected dot to be on same line as object             dot-location
  17:19  error  Strings must use doublequote                          @typescript-eslint/quotes
  17:27  error  There should be a line break after this argument      function-call-argument-newline
  17:28  error  'usage' was used before it was defined                @typescript-eslint/no-use-before-define
  17:34  error  Missing semicolon                                     @typescript-eslint/semi
  19:22  error  Block must be padded by blank lines                   padded-blocks
  23:9   error  Expected dot to be on same line as object             dot-location
  23:19  error  Strings must use doublequote                          @typescript-eslint/quotes
  24:9   error  Expected dot to be on same line as object             dot-location
  24:25  error  Strings must use doublequote                          @typescript-eslint/quotes
  25:9   error  Expected dot to be on same line as object             dot-location
  25:19  error  Strings must use doublequote                          @typescript-eslint/quotes
  25:31  error  There should be a line break after this argument      function-call-argument-newline
  25:37  error  No magic number: 0                                    @typescript-eslint/no-magic-numbers
  26:9   error  Expected dot to be on same line as object             dot-location
  26:19  error  Strings must use doublequote                          @typescript-eslint/quotes
  26:27  error  There should be a line break after this argument      function-call-argument-newline
  26:33  error  No magic number: 1                                    @typescript-eslint/no-magic-numbers
  26:36  error  Missing semicolon                                     @typescript-eslint/semi
  28:18  error  Block must be padded by blank lines                   padded-blocks
  31:1   error  This line has a length of 142. Maximum allowed is 80  max-len
  31:8   error  Combine this with the previous 'const' statement      one-var
  31:28  error  Strings must use doublequote                          @typescript-eslint/quotes
  33:8   error  Combine this with the previous 'const' statement      one-var
  33:26  error  Strings must use doublequote                          @typescript-eslint/quotes
  35:1   error  This line has a length of 82. Maximum allowed is 80   max-len
  35:8   error  Combine this with the previous 'const' statement      one-var
  35:34  error  No magic number: 0                                    @typescript-eslint/no-magic-numbers

/Users/ej/Downloads/repos/EddieBot/src/commandHandlers/stats.service.ts
   1:9   error  There should be no space after '{'                                                                 object-curly-spacing
   1:31  error  Member 'Channel' of the import declaration should be sorted alphabetically                         sort-imports
   1:38  error  There should be no space before '}'                                                                object-curly-spacing
   1:46  error  Strings must use doublequote                                                                       @typescript-eslint/quotes
   3:9   error  There should be no space after '{'                                                                 object-curly-spacing
   3:16  error  There should be no space before '}'                                                                object-curly-spacing
   3:24  error  Strings must use doublequote                                                                       @typescript-eslint/quotes
   6:5   error  Shorthand method signature is forbidden. Use a function property instead                           @typescript-eslint/method-signature-style
   7:5   error  Shorthand method signature is forbidden. Use a function property instead                           @typescript-eslint/method-signature-style
   8:5   error  Shorthand method signature is forbidden. Use a function property instead                           @typescript-eslint/method-signature-style
  16:5   error  Missing accessibility modifier on method definition constructor                                    @typescript-eslint/explicit-member-accessibility
  16:16  error  Missing space before function parentheses                                                          @typescript-eslint/space-before-function-paren
  16:17  error  Property discordClient cannot be declared in the constructor                                       @typescript-eslint/no-parameter-properties
  16:25  error  Parameter should be a read only type                                                               @typescript-eslint/prefer-readonly-parameter-types
  16:25  error  Member 'discordClient: Client' is never reassigned; mark it as `readonly`                          @typescript-eslint/prefer-readonly
  19:1   error  This line has a length of 118. Maximum allowed is 80                                               max-len
  21:5   error  Missing accessibility modifier on method definition getServerMemberCount                           @typescript-eslint/explicit-member-accessibility
  21:5   error  Async method 'getServerMemberCount' has no 'await' expression                                      @typescript-eslint/require-await
  21:31  error  Missing space before function parentheses                                                          @typescript-eslint/space-before-function-paren
  21:51  error  Block must be padded by blank lines                                                                padded-blocks
  23:14  error  Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly  @typescript-eslint/strict-boolean-expressions
  23:24  error  Block must be padded by blank lines                                                                padded-blocks
  24:1   error  This line has a length of 134. Maximum allowed is 80                                               max-len
  24:13  error  Unexpected console statement                                                                       no-console
  24:27  error  Strings must use doublequote                                                                       @typescript-eslint/quotes
  25:20  error  No magic number: 0                                                                                @typescript-eslint/no-magic-numbers
  25:22  error  Block must be padded by blank lines                                                                padded-blocks
  28:9   error  Combine this with the previous 'const' statement                                                   one-var
  29:21  error  Block must be padded by blank lines                                                                padded-blocks
  30:1   error  This line has a length of 141. Maximum allowed is 80                                               max-len
  30:13  error  Unexpected console statement                                                                       no-console
  30:27  error  Strings must use doublequote                                                                       @typescript-eslint/quotes
  31:20  error  No magic number: 0                                                                                @typescript-eslint/no-magic-numbers
  31:22  error  Block must be padded by blank lines                                                                padded-blocks
  34:34  error  Block must be padded by blank lines                                                                padded-blocks
  40:1   error  This line has a length of 93. Maximum allowed is 80                                                max-len
  42:5   error  Missing accessibility modifier on method definition getServerTotalMessages                         @typescript-eslint/explicit-member-accessibility
  42:33  error  Missing space before function parentheses                                                          @typescript-eslint/space-before-function-paren
  42:53  error  Block must be padded by blank lines                                                                padded-blocks
  43:13  error  Block must be padded by blank lines                                                                padded-blocks
  46:17  error  Expected dot to be on same line as object                                                          dot-location
  46:26  error  Parameter should be a read only type                                                               @typescript-eslint/prefer-readonly-parameter-types
  47:17  error  Expected dot to be on same line as object                                                          dot-location
  47:22  error  Functions that return promises must be async                                                       @typescript-eslint/promise-function-async
  47:23  error  Parameter should be a read only type                                                               @typescript-eslint/prefer-readonly-parameter-types
  49:13  error  Combine this with the previous 'const' statement                                                   one-var
  50:1   error  This line has a length of 86. Maximum allowed is 80                                                max-len
  50:45  error  Expected total to have a type annotation                                                           @typescript-eslint/typedef
  50:52  error  Expected msgRsp to have a type annotation                                                          @typescript-eslint/typedef
  50:52  error  Parameter should be a read only type                                                               @typescript-eslint/prefer-readonly-parameter-types
  50:83  error  There should be a line break after this argument                                                   function-call-argument-newline
  50:84  error  No magic number: 0                                                                                @typescript-eslint/no-magic-numbers
  50:87  error  Block must be padded by blank lines                                                                padded-blocks
  51:25  error  Block must be padded by blank lines                                                                padded-blocks
  52:13  error  Unexpected console statement                                                                       no-console
  52:27  error  Strings must use doublequote                                                                       @typescript-eslint/quotes
  52:71  error  There should be a line break after this argument                                                   function-call-argument-newline
  53:20  error  No magic number: 0                                                                                @typescript-eslint/no-magic-numbers
  53:22  error  Block must be padded by blank lines                                                                padded-blocks
  54:10  error  Block must be padded by blank lines                                                                padded-blocks
  57:5   error  Missing accessibility modifier on method definition getServerTotalReactions                        @typescript-eslint/explicit-member-accessibility
  57:5   error  Async method 'getServerTotalReactions' has no 'await' expression                                   @typescript-eslint/require-await
  57:34  error  Missing space before function parentheses                                                          @typescript-eslint/space-before-function-paren
  57:34  error  Expected 'this' to be used by class async method 'getServerTotalReactions'                         class-methods-use-this
  57:54  error  Block must be padded by blank lines                                                                padded-blocks
  58:9   error  Unexpected 'todo' comment                                                                          no-warning-comments
  59:16  error  No magic number: 0                                                                                @typescript-eslint/no-magic-numbers
  59:18  error  Block must be padded by blank lines                                                                padded-blocks
  60:6   error  Block must be padded by blank lines                                                                padded-blocks

/Users/ej/Downloads/repos/EddieBot/src/commandHandlers/stats.ts
   1:9   error  There should be no space after '{'                       object-curly-spacing
   1:22  error  There should be no space before '}'                      object-curly-spacing
   1:30  error  Strings must use doublequote                             @typescript-eslint/quotes
   3:9   error  There should be no space after '{'                       object-curly-spacing
   3:22  error  There should be no space before '}'                      object-curly-spacing
   3:30  error  Strings must use doublequote                             @typescript-eslint/quotes
   5:1   error  This line has a length of 91. Maximum allowed is 80      max-len
   5:31  error  Parameter 'arg' is declared but its value is never read  @typescript-eslint/no-unused-vars-experimental
   5:44  error  Parameter should be a read only type                     @typescript-eslint/prefer-readonly-parameter-types
   8:5   error  Combine this with the previous 'const' statement         one-var
  10:9   error  Expected dot to be on same line as object                dot-location
  10:19  error  Strings must use doublequote                             @typescript-eslint/quotes
  11:9   error  Expected dot to be on same line as object                dot-location
  11:19  error  Strings must use doublequote                             @typescript-eslint/quotes
  11:33  error  There should be a line break after this argument         function-call-argument-newline
  12:9   error  Expected dot to be on same line as object                dot-location
  12:19  error  Strings must use doublequote                             @typescript-eslint/quotes
  12:36  error  There should be a line break after this argument         function-call-argument-newline
  12:51  error  Missing semicolon                                        @typescript-eslint/semi
  14:18  error  Block must be padded by blank lines                      padded-blocks
  17:8   error  Combine this with the previous 'const' statement         one-var
  17:28  error  Strings must use doublequote                             @typescript-eslint/quotes
  19:8   error  Combine this with the previous 'const' statement         one-var
  19:26  error  Strings must use doublequote                             @typescript-eslint/quotes
  21:8   error  Combine this with the previous 'const' statement         one-var
  21:14  error  Use array destructuring                                  prefer-destructuring
  21:31  error  No magic number: 0                                       @typescript-eslint/no-magic-numbers

/Users/ej/Downloads/repos/EddieBot/src/commands.ts
   1:9   error  There should be no space after '{'                                                                         object-curly-spacing
   1:17  error  There should be no space before '}'                                                                        object-curly-spacing
   1:25  error  Strings must use doublequote                                                                               @typescript-eslint/quotes
   3:1   error  Expected 'multiple' syntax before 'single' syntax                                                          sort-imports
   3:22  error  There should be no space after '{'                                                                         object-curly-spacing
   3:31  error  There should be no space before '}'                                                                        object-curly-spacing
   3:39  error  Strings must use doublequote                                                                               @typescript-eslint/quotes
   4:20  error  Strings must use doublequote                                                                               @typescript-eslint/quotes
   6:8   error  There should be no space after '{'                                                                         object-curly-spacing
   6:9   error  Property name COMMAND_PREFIX must match one of the following formats: camelCase                            @typescript-eslint/naming-convention
   6:37  error  There should be no space before '}'                                                                        object-curly-spacing
   8:8   error  Combine this with the previous 'const' statement                                                           one-var
   8:32  error  Parameter should be a read only type                                                                       @typescript-eslint/prefer-readonly-parameter-types
   8:68  error  Block must be padded by blank lines                                                                        padded-blocks
   9:76  error  Block must be padded by blank lines                                                                        padded-blocks
  10:16  error  Block must be padded by blank lines                                                                        padded-blocks
  14:30  error  Use the 'u' flag                                                                                require-unicode-regexp
  16:10  error  Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly          @typescript-eslint/strict-boolean-expressions
  16:19  error  Block must be padded by blank lines                                                                        padded-blocks
  17:16  error  Block must be padded by blank lines                                                                        padded-blocks
  22:5   error  Combine this with the previous 'const' statement                                                           one-var
  24:5   error  Combine this with the previous 'const' statement                                                           one-var
  25:9   error  Expected dot to be on same line as object                                                                  dot-location
  25:16  error  Expected a type annotation                                                                                @typescript-eslint/typedef
  25:17  error  There should be no space after '{'                                                                         object-curly-spacing
  25:26  error  There should be no space before '}'                                                                        object-curly-spacing
  26:13  error  Expected dot to be on same line as object                                                                  dot-location
  26:20  error  Expected trigger to have a type annotation                                                                 @typescript-eslint/typedef
  26:54  error  Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator  @typescript-eslint/prefer-nullish-coalescing
  26:58  error  There should be no space after '{'                                                                         object-curly-spacing
  26:59  error  Unquoted property 'command' found                                                                          quote-props
  26:76  error  There should be no space before '}'                                                                        object-curly-spacing
  28:1   error  This line has a length of 88. Maximum allowed is 80                                                        max-len
  28:5   error  Promises must be handled appropriately or explicitly marked as ignored with the `void` operator            @typescript-eslint/no-floating-promises
  28:77  error  No magic number: 1                                                                                @typescript-eslint/no-magic-numbers
  28:80  error  There should be a line break after this argument                                                           function-call-argument-newline
  28:89  error  Block must be padded by blank lines                                                                        padded-blocks

/Users/ej/Downloads/repos/EddieBot/src/config.ts
   1:9    error  There should be no space after '{'                                                                     object-curly-spacing
   1:22   error  There should be no space before '}'                                                                    object-curly-spacing
   1:30   error  Strings must use doublequote                                                                           @typescript-eslint/quotes
   4:1    error  Expected indentation of 4 spaces but found 2                                                           @typescript-eslint/indent
   4:3    error  Unquoted property 'COMMAND_PREFIX' found                                                               quote-props
   4:3    error  Property name COMMAND_PREFIX must match one of the following formats: camelCase                        @typescript-eslint/naming-convention
   4:19   error  Strings must use doublequote                                                                           @typescript-eslint/quotes
   5:1    error  Expected indentation of 4 spaces but found 2                                                           @typescript-eslint/indent
   5:3    error  Unquoted property 'INTRO_CHANNEL' found                                                                quote-props
   5:3    error  Property name INTRO_CHANNEL must match one of the following formats: camelCase                         @typescript-eslint/naming-convention
   5:18   error  Strings must use doublequote                                                                           @typescript-eslint/quotes
   6:1    error  Expected indentation of 4 spaces but found 2                                                           @typescript-eslint/indent
   6:3    error  Unquoted property 'GENERAL_CHANNEL' found                                                              quote-props
   6:3    error  Expected object keys to be in ascending order. 'GENERAL_CHANNEL' should be before 'INTRO_CHANNEL'      sort-keys
   6:3    error  Property name GENERAL_CHANNEL must match one of the following formats: camelCase                       @typescript-eslint/naming-convention
   6:20   error  Strings must use doublequote                                                                           @typescript-eslint/quotes
   7:1    error  Expected indentation of 4 spaces but found 2                                                           @typescript-eslint/indent
   7:3    error  Unquoted property 'REACTIONS_COUNT' found                                                              quote-props
   7:3    error  Property name REACTIONS_COUNT must match one of the following formats: camelCase                       @typescript-eslint/naming-convention
   8:1    error  Expected indentation of 4 spaces but found 2                                                           @typescript-eslint/indent
   8:3    error  Unquoted property 'ROLE' found                                                                         quote-props
   8:3    error  Property name ROLE must match one of the following formats: camelCase                                  @typescript-eslint/naming-convention
   9:1    error  Expected indentation of 8 spaces but found 4                                                           @typescript-eslint/indent
   9:5    error  Unquoted property 'HIGH_VALUE' found                                                                   quote-props
   9:5    error  Property name HIGH_VALUE must match one of the following formats: camelCase                            @typescript-eslint/naming-convention
   9:17   error  Strings must use doublequote                                                                           @typescript-eslint/quotes
  10:1    error  Expected indentation of 4 spaces but found 2                                                           @typescript-eslint/indent
  11:1    error  Expected indentation of 4 spaces but found 2                                                           @typescript-eslint/indent
  11:3    error  Unquoted property 'defaultEmbed' found                                                                 quote-props
  11:37   error  Block must be padded by blank lines                                                                    padded-blocks
  11:37   error  Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`  arrow-body-style
  12:1    error  Expected indentation of 8 spaces but found 4                                                           @typescript-eslint/indent
  13:1    error  Expected indentation of 12 spaces but found 6                                                          @typescript-eslint/indent
  13:7    error  Expected dot to be on same line as object                                                              dot-location
  13:17   error  Strings must use doublequote                                                                           @typescript-eslint/quotes
  14:1    error  Expected indentation of 12 spaces but found 6                                                          @typescript-eslint/indent
  14:7    error  Expected dot to be on same line as object                                                              dot-location
  15:1    error  This line has a length of 105. Maximum allowed is 80                                                   max-len
  15:1    error  Expected indentation of 12 spaces but found 6                                                          @typescript-eslint/indent
  15:7    error  Expected dot to be on same line as object                                                              dot-location
  15:18   error  Strings must use doublequote                                                                           @typescript-eslint/quotes
  15:106  error  Block must be padded by blank lines                                                                    padded-blocks
  16:1    error  Expected indentation of 4 spaces but found 2                                                           @typescript-eslint/indent
  16:4    error  Unexpected trailing comma                                                                              comma-dangle

/Users/ej/Downloads/repos/EddieBot/src/guildMemberAdd.ts
   1:9    error  There should be no space after '{'                                              object-curly-spacing
   1:41   error  There should be no space before '}'                                             object-curly-spacing
   1:49   error  Strings must use doublequote                                                    @typescript-eslint/quotes
   3:20   error  Strings must use doublequote                                                    @typescript-eslint/quotes
   5:8    error  There should be no space after '{'                                              object-curly-spacing
   5:9    error  Property name INTRO_CHANNEL must match one of the following formats: camelCase  @typescript-eslint/naming-convention
   5:22   error  There should be no space before '}'                                             object-curly-spacing
   7:1    error  This line has a length of 98. Maximum allowed is 80                             max-len
   7:8    error  Combine this with the previous 'const' statement                                one-var
   7:98   error  Block must be padded by blank lines                                             padded-blocks
   8:25   error  Block must be padded by blank lines                                             padded-blocks
   9:13   error  Block must be padded by blank lines                                             padded-blocks
  10:34   error  Block must be padded by blank lines                                             padded-blocks
  11:25   error  Block must be padded by blank lines                                             padded-blocks
  12:1    error  This line has a length of 85. Maximum allowed is 80                             max-len
  12:13   error  Unexpected console statement                                                    no-console
  12:27   error  Strings must use doublequote                                                    @typescript-eslint/quotes
  12:78   error  There should be a line break after this argument                                function-call-argument-newline
  13:20   error  Block must be padded by blank lines                                             padded-blocks
  14:10   error  Block must be padded by blank lines                                             padded-blocks
  17:1    error  This line has a length of 110. Maximum allowed is 80                            max-len
  17:55   error  Expected ch to have a type annotation                                           @typescript-eslint/typedef
  17:55   error  Parameter should be a read only type                                            @typescript-eslint/prefer-readonly-parameter-types
  17:103  error  Strings must use doublequote                                                    @typescript-eslint/quotes
  19:19   error  Block must be padded by blank lines                                             padded-blocks
  20:9    error  Unexpected console statement                                                    no-console
  21:9    error  Unnecessary return statement                                                    no-useless-return
  21:16   error  Block must be padded by blank lines                                             padded-blocks
  24:5    error  Comments should not begin with a lowercase character                            capitalized-comments
  24:5    error  Expected a block comment instead of consecutive line comments                   multiline-comment-style
  25:5    error  Comments should not begin with a lowercase character                            capitalized-comments
  25:57   error  Block must be padded by blank lines                                             padded-blocks
  26:2    error  Missing semicolon                                                               @typescript-eslint/semi

/Users/ej/Downloads/repos/EddieBot/src/index.ts
   1:9   error  There should be no space after '{'                                                               object-curly-spacing
   1:16  error  There should be no space before '}'                                                              object-curly-spacing
   1:24  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
   2:20  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
   3:1   error  Imports should be sorted alphabetically                                                          sort-imports
   3:9   error  There should be no space after '{'                                                               object-curly-spacing
   3:18  error  There should be no space before '}'                                                              object-curly-spacing
   3:26  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
   4:1   error  Imports should be sorted alphabetically                                                          sort-imports
   4:9   error  There should be no space after '{'                                                               object-curly-spacing
   4:16  error  There should be no space before '}'                                                              object-curly-spacing
   4:24  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
   5:9   error  There should be no space after '{'                                                               object-curly-spacing
   5:24  error  There should be no space before '}'                                                              object-curly-spacing
   5:32  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
   6:9   error  There should be no space after '{'                                                               object-curly-spacing
   6:28  error  There should be no space before '}'                                                              object-curly-spacing
   6:36  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
   7:9   error  There should be no space after '{'                                                               object-curly-spacing
   7:30  error  There should be no space before '}'                                                              object-curly-spacing
   7:38  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
   9:13  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
   9:21  error  There should be a line break after this argument                                                 function-call-argument-newline
   9:28  error  Block must be padded by blank lines                                                              padded-blocks
  10:5   error  Unexpected console statement                                                                     no-console
  10:18  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
  12:22  error  Block must be padded by blank lines                                                              padded-blocks
  13:9   error  Promises must be handled appropriately or explicitly marked as ignored with the `void` operator  @typescript-eslint/no-floating-promises
  14:13  error  Unquoted property 'activity' found                                                               quote-props
  15:17  error  Unquoted property 'name' found                                                                   quote-props
  16:17  error  Unquoted property 'type' found                                                                   quote-props
  16:23  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
  16:33  error  Unexpected trailing comma                                                                        comma-dangle
  18:13  error  Unquoted property 'status' found                                                                 quote-props
  18:21  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
  19:12  error  Block must be padded by blank lines                                                              padded-blocks
  20:6   error  Block must be padded by blank lines                                                              padded-blocks
  23:1   error  Comments should not begin with a lowercase character                                             capitalized-comments
  24:11  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
  24:27  error  There should be a line break after this argument                                                 function-call-argument-newline
  25:11  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
  25:28  error  There should be a line break after this argument                                                 function-call-argument-newline
  25:29  error  Promise returned in function argument where a void return was expected                           @typescript-eslint/no-misused-promises
  25:29  error  Functions that return promises must be async                                                     @typescript-eslint/promise-function-async
  25:30  error  Expected member to have a type annotation                                                        @typescript-eslint/typedef
  26:11  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
  26:21  error  There should be a line break after this argument                                                 function-call-argument-newline
  26:22  error  Promise returned in function argument where a void return was expected                           @typescript-eslint/no-misused-promises
  26:22  error  Expected message to have a type annotation                                                       @typescript-eslint/typedef
  26:22  error  Parameter should be a read only type                                                             @typescript-eslint/prefer-readonly-parameter-types
  26:22  error  Functions that return promises must be async                                                     @typescript-eslint/promise-function-async
  26:22  error  Expected parentheses around arrow function argument                                              arrow-parens
  27:11  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
  27:21  error  There should be a line break after this argument                                                 function-call-argument-newline
  27:22  error  Promise returned in function argument where a void return was expected                           @typescript-eslint/no-misused-promises
  27:22  error  Expected message to have a type annotation                                                       @typescript-eslint/typedef
  27:22  error  Parameter should be a read only type                                                             @typescript-eslint/prefer-readonly-parameter-types
  27:22  error  Functions that return promises must be async                                                     @typescript-eslint/promise-function-async
  27:22  error  Expected parentheses around arrow function argument                                              arrow-parens
  28:1   error  This line has a length of 81. Maximum allowed is 80                                              max-len
  28:11  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
  28:32  error  There should be a line break after this argument                                                 function-call-argument-newline
  28:33  error  Promise returned in function argument where a void return was expected                           @typescript-eslint/no-misused-promises
  28:40  error  Expected reaction to have a type annotation                                                      @typescript-eslint/typedef
  28:40  error  Parameter should be a read only type                                                             @typescript-eslint/prefer-readonly-parameter-types
  28:82  error  Missing semicolon                                                                                @typescript-eslint/semi
  30:1   error  Comments should not begin with a lowercase character                                             capitalized-comments
  31:1   error  Promises must be handled appropriately or explicitly marked as ignored with the `void` operator  @typescript-eslint/no-floating-promises

/Users/ej/Downloads/repos/EddieBot/src/messageReactionAdd.ts
   1:9   error  There should be no space after '{'                                                object-curly-spacing
   1:25  error  There should be no space before '}'                                               object-curly-spacing
   1:33  error  Strings must use doublequote                                                      @typescript-eslint/quotes
   3:20  error  Strings must use doublequote                                                      @typescript-eslint/quotes
   5:8   error  There should be no space after '{'                                                object-curly-spacing
   5:9   error  Property name REACTIONS_COUNT must match one of the following formats: camelCase  @typescript-eslint/naming-convention
   5:26  error  Property name ROLE must match one of the following formats: camelCase             @typescript-eslint/naming-convention
   5:30  error  There should be no space before '}'                                               object-curly-spacing
   7:1   error  This line has a length of 85. Maximum allowed is 80                               max-len
   7:1   error  Combine this with the previous 'const' statement                                  one-var
   7:38  error  Parameter should be a read only type                                              @typescript-eslint/prefer-readonly-parameter-types
   7:85  error  Block must be padded by blank lines                                               padded-blocks
   9:1   error  This line has a length of 85. Maximum allowed is 80                               max-len
   9:75  error  Expected value to have a type annotation                                          @typescript-eslint/typedef
   9:75  error  Parameter should be a read only type                                              @typescript-eslint/prefer-readonly-parameter-types
   9:85  error  Block must be padded by blank lines                                               padded-blocks
  10:28  error  Block must be padded by blank lines                                               padded-blocks
  11:17  error  Block must be padded by blank lines                                               padded-blocks
  12:37  error  Block must be padded by blank lines                                               padded-blocks
  13:29  error  Block must be padded by blank lines                                               padded-blocks
  14:17  error  Returning an awaited promise is required in this context                          @typescript-eslint/return-await
  14:40  error  No magic number: 0                                                                @typescript-eslint/no-magic-numbers
  14:43  error  Block must be padded by blank lines                                               padded-blocks
  15:14  error  Block must be padded by blank lines                                               padded-blocks
  18:45  error  Block must be padded by blank lines                                               padded-blocks
  19:7   error  Missing semicolon                                                                 @typescript-eslint/semi
  21:5   error  Combine this with the previous 'const' statement                                  one-var
  23:5   error  Comments should not begin with a lowercase character                              capitalized-comments
  24:28  error  Expected acc to have a type annotation                                            @typescript-eslint/typedef
  24:33  error  Expected current to have a type annotation                                        @typescript-eslint/typedef
  24:45  error  Operands of '+' operation must either be both strings or both numbers             @typescript-eslint/restrict-plus-operands
  24:59  error  There should be a line break after this argument                                  function-call-argument-newline
  24:60  error  No magic number: 0                                                                @typescript-eslint/no-magic-numbers
  24:62  error  Block must be padded by blank lines                                               padded-blocks
  24:62  error  Missing semicolon                                                                 @typescript-eslint/semi
  25:2   error  Missing semicolon                                                                 @typescript-eslint/semi
  27:8   error  Combine this with the previous 'const' statement                                  one-var
  27:35  error  Missing return type on function                                                   @typescript-eslint/explicit-module-boundary-types
  27:35  error  Missing return type on function                                                   @typescript-eslint/explicit-function-return-type
  27:42  error  Parameter should be a read only type                                              @typescript-eslint/prefer-readonly-parameter-types
  27:72  error  Block must be padded by blank lines                                               padded-blocks
  28:27  error  Block must be padded by blank lines                                               padded-blocks
  29:13  error  Block must be padded by blank lines                                               padded-blocks
  30:36  error  Block must be padded by blank lines                                               padded-blocks
  31:25  error  Block must be padded by blank lines                                               padded-blocks
  32:1   error  This line has a length of 85. Maximum allowed is 80                               max-len
  32:13  error  Unexpected console statement                                                      no-console
  32:27  error  Strings must use doublequote                                                      @typescript-eslint/quotes
  32:78  error  There should be a line break after this argument                                  function-call-argument-newline
  33:20  error  Block must be padded by blank lines                                               padded-blocks
  34:10  error  Block must be padded by blank lines                                               padded-blocks
  37:65  error  Missing semicolon                                                                 @typescript-eslint/semi
  39:5   error  Comments should not begin with a lowercase character                              capitalized-comments
  40:44  error  Block must be padded by blank lines                                               padded-blocks
  41:1   error  This line has a length of 97. Maximum allowed is 80                               max-len
  41:22  error  Forbidden non-null assertion                                                      @typescript-eslint/no-non-null-assertion
  41:64  error  Expected r to have a type annotation                                              @typescript-eslint/typedef
  41:64  error  Parameter should be a read only type                                              @typescript-eslint/prefer-readonly-parameter-types
  41:64  error  Identifier name 'r' is too short (< 2)                                            id-length
  42:9   error  Combine this with the previous 'const' statement                                  one-var
  42:15  error  Use object destructuring                                                          prefer-destructuring
  43:15  error  Forbidden non-null assertion                                                      @typescript-eslint/no-non-null-assertion
  43:33  error  Forbidden non-null assertion                                                      @typescript-eslint/no-non-null-assertion
  43:40  error  Block must be padded by blank lines                                               padded-blocks
  44:6   error  Block must be padded by blank lines                                               padded-blocks

/Users/ej/Downloads/repos/EddieBot/src/notifyGeneralChannel.ts
   1:9   error  There should be no space after '{'                                                               object-curly-spacing
   1:46  error  There should be no space before '}'                                                              object-curly-spacing
   1:54  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
   3:20  error  Strings must use doublequote                                                                     @typescript-eslint/quotes
   5:8   error  There should be no space after '{'                                                               object-curly-spacing
   5:9   error  Property name GENERAL_CHANNEL must match one of the following formats: camelCase                 @typescript-eslint/naming-convention
   5:24  error  There should be no space before '}'                                                              object-curly-spacing
   7:8   error  Combine this with the previous 'const' statement                                                 one-var
   7:37  error  Missing return type on function                                                                  @typescript-eslint/explicit-module-boundary-types
   7:37  error  Missing return type on function                                                                  @typescript-eslint/explicit-function-return-type
   7:73  error  Expected to return a value at the end of arrow function                                          consistent-return
   7:76  error  Block must be padded by blank lines                                                              padded-blocks
   8:63  error  Expected currentChannel to have a type annotation                                                @typescript-eslint/typedef
   8:63  error  Parameter should be a read only type                                                             @typescript-eslint/prefer-readonly-parameter-types
   8:63  error  Expected parentheses around arrow function argument                                              arrow-parens
   9:9   error  Expected no linebreak before this expression                                                     implicit-arrow-linebreak
  10:1   error  This line has a length of 90. Maximum allowed is 80                                              max-len
  10:9   error  Unnecessary parentheses around expression                                                        @typescript-eslint/no-extra-parens
  11:5   error  Unexpected newline before ')'                                                                    function-paren-newline
  12:5   error  Expected { after 'if' condition                                                                  curly
  13:1   error  This line has a length of 122. Maximum allowed is 80                                             max-len
  13:9   error  Expected no linebreak before this statement                                                      nonblock-statement-body-position
  13:16  error  Unexpected console statement                                                                     no-console
  15:48  error  Block must be padded by blank lines                                                              padded-blocks
  16:1   error  This line has a length of 105. Maximum allowed is 80                                             max-len
  16:26  error  Unnecessary escape character: \:                                                                 no-useless-escape
  16:85  error  'channel may evaluate to '[object Object]' when stringified                                      @typescript-eslint/no-base-to-string
  17:9   error  Promises must be handled appropriately or explicitly marked as ignored with the `void` operator  @typescript-eslint/no-floating-promises
  17:38  error  Block must be padded by blank lines                                                              padded-blocks
  18:6   error  Block must be padded by blank lines                                                              padded-blocks
  19:2   error  Newline required at end of file but not found                                                    eol-last
  19:2   error  Missing semicolon                                                                                @typescript-eslint/semi

✖ 573 problems (573 errors, 0 warnings)
  390 errors and 0 warnings potentially fixable with the `--fix` option.

Oops sorry wrong project 🤦 - this is meant for the Bot itself.


fix repo not available issue for L2 vm

in our made qcow2 image, the repo is sg.archive.ubuntu.com, sometimes, it is unavailable. so, replace it into archive.ubuntu.com

the repo is back, I have added a failure type for this, close this PR, since it is an ugly fix.


The availability of gavel AMI

Hi,
Is the AMI 'gavel' still available and how can I find it?

I am not sure it is, and I don't have access to that AWS account anymore to check.
However, I think these instructions should still work (we tried on Ubuntu 16.04, but newer versions of Ubuntu should work too though the exact installation commands might change):
apt-get -y install cmake g++ gcc libnuma-dev make numactl zlib1g-dev
pip install -r scheduler/requirements.txt
cd scheduler; make

Thanks for your reply.
These instructions you give can be executed. But I want to access the workloads data in pyhsical cluster experiments, I search the public AWS AMI and don't find the AMI ID of gavel.


Restore pending orders in the maker UI

Seems like a tiny regression slipped in (I tried to set up a cfd locally and it was impossible)

bors r+


Add JSCS.

Resolves #95
Todo:

[x] Remove style rules from JSHint
[x] Add some basic style rules to JSCS

I'm using pretty relaxed style rules. If someone picked up this project and got a million errors from just writing in their code style, I think that they would move on to a different boilerplate :)


RETURN does not accomodate returned paths

Describe the bug
RETURN does not return a tuple of paths in its current syntax and form.
How are you accessing AGE (Command line, driver, etc.)?

AGE ver. 1.4.0 based on the current main branch.

What data setup do we need to do?
Have a database.
What is the command that caused the error?
SELECT * FROM cypher('matrix', $$ MATCH (a)-[]->(b) RETURN (a)-[]-(b)$$) as (a agtype);

ERROR:  must be scalar value, not array or object

Expected behavior
According to the OpenCypher specification, This query should return a tuple of elements that satisfy the MATCH requirement.
Environment (please complete the following information):

Version: [e.g. 1.6.0], latest main branch. This should be reproducible in any version of Postgres.

I think you wanna see the relation for (Node a) -[any relationship]->(Node b)
To see that realtion, you need to seperatly return it in RETURN clause.
like below
SELECT * FROM cypher('matrix', $$ MATCH (a)-[r]->(b) RETURN a, r, b$$) as (a agtype, r agtype, b agtype);

to return the edge(relationship), you might as well to clarify the edge using any notation or alphbet like r
To return the relationship for Node a and Node b, you have to clarify the things that you wanna return seperatly like RETURN a, r, b
and you might as well to clarify the return Nodes / Edges and its Data type like as (a agtype, r agtype, b agtype)

But I think you want to see this relationship as a unified thing like tuple, list, array
It is also simple!
SELECT * FROM cypher('matrix', $$ MATCH p = (a)-[r]->(b) RETURN p$$) as (p agtype);
All you gotta do is you can simply declare the relationship to a path like MATCH p = (a)-[r]->(b)
then it is returned unified value with list which is a kind of data type in Cypher like below
p\nagtype\n[{"id":<PHONE_NUMBER>842625, "label": "vt_car", "properties": {"carline": "ENCLAVE FWD", "mfr_name": "General Motors", "car_division": "Buick"}}::vertex, {"id":<PHONE_NUMBER>685249, "label": "eg_eng_use2", "end_id":<PHONE_NUMBER>553292, "start_id":<PHONE_NUMBER>842625, "properties": {"fe": 21.29::numeric, "co2": 424.00::numeric}}::edge, {"id":<PHONE_NUMBER>553292, "label": "vt_engine", "properties": {"no_cyl": 6, "eng_displ": 3.6::numeric, "air_aspiration_method": "NA"}}::vertex]::path


Rework and document events

Currently events are a bit confusing and poorly document in the framework. In particular it is not clear during which event you should do what, one such example is this issue.
The goal of this bug would be to rework events so all important events have pre/post events and clear documentation both in code and on the wiki (with examples on the wiki) for which event should do what. And in particular during which events you should not do certain things to avoid bugs.
Here is a list of things that at a minimum should be done in the scope of this bug,

All framework events should be documented both in wiki and with the appropriate comment
Add any events that may be relevant (eg. A new player synch / join event where you can spawn the player. See this issue.)
Ensure events are executed at the correct time (eg. for OnPlayerLeftEvent often the MDPlayerInfo is removed before the event, this makes no sense).

This issue is related to #53, they should probably be fixed together.

Events documented here https://github.com/DoubleDeez/MDFramework/wiki/Game-Session#game-session-events
Will close this issue with PR that aligns the events to match.


Update breaking-changes.md

Internal review URL

@Rick-Anderson @divega These changes made it into master (see https://github.com/aspnet/EntityFramework.Docs/blob/master/entity-framework/core/what-is-new/ef-core-3.0/breaking-changes.md) but aren't on the docs site: https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-3.0/breaking-changes
Any idea what's going on? I need to reference the doc when talking to customers about preview 7 issues.

You need to merge master to live. I can do that, but @divega  normally does that

Are they in https://github.com/aspnet/EntityFramework.Docs/blob/live/entity-framework/core/what-is-new/ef-core-3.0/breaking-changes.md

@ajcvickers  history shows the last update in not in the live branch.

See #1601

Done.

LOL @Rick-Anderson you beat me to it, but git didn't complain.

Thanks guys!


Make the Gatsby CLI link navigate to an actual Gatsby CLI page in README

What kind of change does this PR introduce?
Minor fix in README. Before the link navigated to a general Gatsby docs page, where there was no information on how to install Gatsby CLI. Now it navigates directly to a page dedicated for Gatsby CLI.

Does this PR introduce a breaking change?
No.

What needs to be documented once your changes are merged?
Nothing.

Thank you!


How to create duplicate plans

How to create duplicate plans

Hello, @obqrn,
Please provide a more detailed description.

Closing this, because it doesn't have enough context to make progress on.


Fix Update Checksums deleting old checkums

https://github.com/eifinger/setup-rye/pull/164 tries to delete some older checksums. I guess I need to implement pagination support

See https://github.com/actions/toolkit/blob/415c42d27ca2a24f3801dd9406344aaea00b7866/packages/artifact/src/internal/find/list-artifacts.ts#L75


Prioritization Fee Lamports [ERROR]

Hi,
I have a problem with priority fees; when I try to pass this argument, it returns an error:
async def safe_swap(input_mint: str, output_mint: str, amount: int, slippage_bps: int, prioritization_fee_lamports: int):
    async_client = AsyncClient(rpc_url)
    jupiter = Jupiter(
        async_client=async_client,
        keypair=KEYPAIR,
        quote_api_url=quote_api_url,
        swap_api_url=swap_api_url
    )
    try:
        transaction_data = await jupiter.swap(
            input_mint=input_mint,
            output_mint=output_mint,
            amount=amount,
            slippage_bps=slippage_bps,
            prioritization_fee_lamports=prioritization_fee_lamports
        )

Action parsed: swap: An error occurred: Jupiter.swap() got an unexpected keyword argument 'prioritization_fee_lamports'
fyi callback for this arg
        prioritization_fee_lamports = 1500000

Is it possible to correct?
Thanks a lot for your great work on this git

@0xTaoDev up

yep i hope he will push that


undesirable behaviour where upstream installed package is not found by user instance

Under certain circumstances, a package that is properly installed in the upstream, will not be found by the spack user instance, causing spack to always rebuild and install at the user spack.
The problem is triggered when:

the package is not installed under the user spack instance.
it is installed in the upstream instance
the database of the user spack is somewhat in a "corrupted" state.

The property that checks if the package is installed upstream:
https://github.com/spack/spack/blob/35bf91012f83f64faf528007cb0b775465218b80/lib/spack/spack/package.py#L725
will check the first entry of the tuple query_by_spec_hash
https://github.com/spack/spack/blob/35bf91012f83f64faf528007cb0b775465218b80/lib/spack/spack/database.py#L680
If the package is installed in the user spack instance, this installation will take precedence, and it will return False (since the package should be found in the user spack and not the upstream).
However in the case described, surprisingly, even if the package is not installed in the user spack, it is found in the database.
And installed_upstream is set to False
https://github.com/spack/spack/blob/35bf91012f83f64faf528007cb0b775465218b80/lib/spack/spack/database.py#L686
The documentation here
https://github.com/spack/spack/blob/35bf91012f83f64faf528007cb0b775465218b80/lib/spack/spack/database.py#L161
explains the situations when a record might be kept in the database even if not installed.
To me it sounds like this
https://github.com/spack/spack/blob/35bf91012f83f64faf528007cb0b775465218b80/lib/spack/spack/database.py#L686
could better check the installed flag of the InstallRecord, rather than just returning False if there is a record. But I dont know enough about the behaviour here to judge if this is a bug.
In my case, even trying to spack uninstall the package did not solve the problem, since some of the dependent packages force spack database to keep the record.
Only a complete wipe out of the spack install directory of my spack instance fixed the problem.
After rm -rf /scratch/$USER/spack-install
the behaviour is what I would expect and the package is finally found in the upstream.
The question is how do we avoid users falling into this trap. Just ask them to regularly or under problems remove the spack install dir ?
Anything else we can do ?

As a first and easy countermeasure I suggest we advice the users to remove the spack install should the problem occur. A help section would be neat for this. But where? A "known issues" in the docs, github issues, stackoverflow?

Doesn't seem to be a problem any more.


drivers: ipm driver based on stm32 HSEM

Some STM32 SOC, like stm32h745 and stm32h747 doesn't have IPCC.
Provide an STM32 HSEM based ipm driver for these SOC.

@cameled Great thanks for this contribution!
To ease the review, is there a way we can test this ?
Ideally providing a way to build and test this driver in tree (so that at least this could be built by CI) would be a great addition.
Maybe a very basic sample that could be flashed on both cores would suffice. Anyway, this won't be a blocker as dual core testing is a particular case.

@cameled Great thanks for this contribution!
To ease the review, is there a way we can test this ?
Ideally providing a way to build and test this driver in tree (so that at least this could be built by CI) would be a great addition.
Maybe a very basic sample that could be flashed on both cores would suffice. Anyway, this won't be a blocker as dual core testing is a particular case.

@cameled cameled closed this 42 seconds ago

@cameled, I'm sorry you closed this PR. Hope this is not definitive.
Please note that my request about adding a test is not blocking due to the specific dual core condition.
This can be done as a later steps and I'm sure we'll find help in the community to add it.

Sorry, I think it close the comment, but it close the whole pull request.

I'm preparing an simple test example now.
I have a stm32h747i_disco board, so example will work on it.

@cameled Out of curiosity, are you planning to use openamp on top of this driver ?

@cameled Out of curiosity, are you planning to use openamp on top of this driver ?
Yes, I'm preparing to use openamp.

It's my first-time to contribute code for an open source project.
If there have some unsuitable things, please let me know.
Thanks a lot!

It's my first-time to contribute code for an open source project.

And you're doing great!

If there have some unsuitable things, please let me know.

Nothing is unsuitable, but please address the inline comments provided above.

@erwango The change will be sent Monday or Tuesday on next week.

Sample have some problem. create a issue to track it. #37395


replace or update on duplicate key support

Is there any plan to support REPLACE or INSERT ... ON DUPLICATE KEY UPDATE .... query?

@bububa we've published a 0.47 (testing) release which supports INSERT ... ON DUPLICATE KEY UPDATE. See also https://crate.io/docs/en/latest/sql/dml.html?highlight=duplicate key#on-duplicate-key-update.


allow dot in collection names

Insert doesn't work if the full_path has more than one dot in its name.("test.auth.user")

This works for me flawlessly, maybe it has been resolved already:
auto db = connectMongoDB("<IP_ADDRESS>");
auto coll = db.getCollection("test.auth.user");
coll.insert(["hello": "world"]);
assert(coll.findOne(["hello": "world"])["hello"] == Bson("world"));


[Question] keys for PDFNames and PDFCatalog

form_8949.pdf
form_8949.pdf
Hi -  I have been referencing other closed issues which have been helpful such as https://github.com/Hopding/pdf-lib/issues/109
Hopding and others are getting objects out of the pdfDoc.index with various getMaybe(key) calls from the catalog with keys such as 'AcroForm' as in the below code from the above issue.  Is there any documentation that explains what all of these keys are?  Although I can see them in catalog.validKeys, it feels like I'm arbitrarily pulling down these names, and I'm curious what they all do for me.  For example, I'm following along with the code in the above issue, and the 'AcroForm' doesn't seem to give me all of the fields in my pdf, it only returns 6 fields as opposed to close to a hundred fields on the form.
const getAcroFields = pdfDoc => {
  if (!pdfDoc.catalog.getMaybe('AcroForm')) return [];
  const acroForm = pdfDoc.index.lookup(pdfDoc.catalog.get('AcroForm'));

  if (!acroForm.getMaybe('Fields')) return [];
  const acroFields = pdfDoc.index.lookup(acroForm.get('Fields'));

  return acroFields.array.map(pdfDoc.index.lookup);
};

Similarly once a field is targeted say in an acroField, is there documentation stating what all of the keys are for an acroField?  For a particular field I'm looking at, I see keys with names of 'T', 'F', 'Subtype', 'DA', 'MK' etc, and have no idea what they each represent.
Thank you.  For reference, the form I have been looking at is attached if that helps.

Hello @jboxxx!
The documentation for all of the keys you mentioned can be found in the PDF specification. These keys are not defined by pdf-lib itself (if they were, they'd have more meaningful names than DA 😉). For this reason, they are not documented as part of pdf-lib.
Ideally, users of pdf-lib would never need to read the PDF specification or deal with these low-level PDF keys. The library should contain higher level APIs that abstract away the low level stuff. However, feature requests and issues come in faster than these higher level APIs can be developed. This is why some of the code snippets you've seen seem opaque and poorly documented.
I'll take a look at the form fields in the document you shared and get back with you.

I did a bit of investigation into the PDF you shared. It turns out that:

The 6 acroform fields correspond to the 6 check boxes in the document (3 per page).
The 238 are not part of the acroform. They're just "loose" text fields attach to the pages.

I wrote a function to extract the text fields, and used it to populate each of them with their index number. Here's the resulting document: filled_form_8949.pdf.
And here's the script I used to create it:
// ...imports omitted...

const getTextFields = (pdfDoc) => {
  const indirectObjects = Array.from(pdfDoc.index.index.entries());
  return indirectObjects
    .filter(
      ([ref, object]) =>
        object instanceof PDFDictionary &&
        object.getMaybe('FT') === PDFName.from('Tx'),
    )
    .map(([ref, object]) => object);
};

const pdfDoc = PDFDocumentFactory.load(fs.readFileSync('./form_8949.pdf'));

const textFields = getTextFields(pdfDoc);

textFields.forEach((field, idx) => {
  field.delete('AP');
  field.set('V', PDFString.fromString(`Field ${idx}`));
});

const pdfBytes = PDFDocumentWriter.saveToBytes(pdfDoc);

fs.writeFileSync('./filled_form_8949.pdf', pdfBytes)

I hope this helps. Please let me know if you have any further questions!

Hi, I need to edit the same form, but looks like the code in the answer belongs to the older version. Now there's no pdfDoc.index.index.entries(). Should I use the older version or the code can be fixed for the latest version?

For future reference, the pdfDoc.index.index.entries() call can be replaced with pdfDoc.context.enumerateIndirectObjects().

Hi @Hopding.  I've just updated the library to take advantage of the new async features.  In addition to the above, from reading the documentation, it seems like I need to implement the following changes:
Change PDFDictionary to PDFDict
Change object.getMaybe('FT') to object.get(PDFName.of('FT'))
Change PDFName.from('Tx') to PDFName.of('Tx')
Now I'm erroring on PDFString.fromString() as this is no longer a function.  Can you please help me with this?
Thanks


Add doctr for travis deployment of docs

[x] closes #55
[x] tests added / passed
[x] passes git diff upstream/master -u -- "*.py" | flake8 --diff
[x] added entry to docs/whatsnew latest version

I am updating it with your suggestions. I was experimenting with these changes and suddenly Travis stopped building new changes.

@jackmoody11 update 👍


Fixes fix of MathConverter

Double.TryParse(value.ToString(), NumberStyles.Any, ... ) converts input string like "23.066" into the 23066 number, and i got this:

So i've changed Double.TryParse to Convert.ToDouble with try-catch, i hope it will works with german system.

Hmm.. just looking at the source and it seams that value and parameter can either be a string or a double.
And if it is already a double value.ToString() converts it to a string but in the wrong format (e.g. not CultureInfo.InvariantCulture).
So wouldn't it be better to check if value and parameter are already a double and the do not the conversion?

@campersau Convert.ToDouble internally call IConvertable.ToDouble method, which is implemented in Double value type and which returns itself.

Ah, I see. Looks good.
Nit: You can remove System. from System.Convert since System it is already imported using System;.

@campersau i can't, because System.Convert is overlapped by IValueConverter.Convert method :)

Yeah, Better go to bed too :smile:


🐛 Fix branch protection results

BP results are wrong in certain cases.
See https://github.com/ossf/scorecard/issues/1247 and https://github.com/ossf/scorecard/issues/1246
I think this PR fixes it. There may be a cleaner way to re-arrange the code, but for now this should be enough for a quick fix.
During my tests, I found that a read-only non-admin token could retrieve all the results. I need someone else to confirm.

@evverx Can you try this PR and see if it fixes your problem?

Thanks! Looks like https://github.com/ossf/scorecard/issues/1246 is gone but https://github.com/ossf/scorecard/issues/1247 isn't
{
  "date": "2021-11-11",
  "repo": {
    "name": "github.com/evverx/systemd",
    "commit": "e127b048e6a2e2b8ad195385b0620d42c9515cc5"
  },
  "scorecard": {
    "version": "3.1.1-53-g2cf6047",
    "commit": "2cf60476a04647160cb12f0f27fe9b6ddcba66f3"
  },
  "score": 4.0,
  "checks": [
    {
      "details": [
        "Warn: 'force pushes' enabled on branch 'main'",
        "Info: 'allow deletion' disabled on branch 'main'",
        "Warn: linear history disabled on branch 'main'",
        "Warn: 'administrator' PRs are exempt from reviews on branch 'main'",
        "Info: strict status check enabled on branch 'main'",
        "Warn: status checks for merging have no specific status to check on branch 'main'",
        "Info: number of required reviewers is 2 on branch 'main'",
        "Info: Stale review dismissal enabled on branch 'main'",
        "Warn: Owner review not required on branch 'main'"
      ],
      "score": 4,
      "reason": "branch protection is not maximal on development and all release branches",
      "name": "Branch-Protection",
      "documentation": {
        "url": "https://github.com/ossf/scorecard/blob/2cf60476a04647160cb12f0f27fe9b6ddcba66f3/docs/checks.md#branch-protection",
        "short": "Determines if the default and release branches are protected with GitHub's branch protection settings."
      }
    }
  ],
  "metadata": null
}

curl  -u "***" -H "Accept: application/vnd.github.v3+json"   https://api.github.com/repos/evverx/systemd/branches/main/protection/required_status_checks
{
  "message": "Required status checks not enabled",
  "documentation_url": "https://docs.github.com/rest/reference/repos#get-status-checks-protection"
}

Please try the last commit I've pushed. It's fixed for me now. Tell me if it's fixed on your side.

Judging by
...
  "score": 4.0,
  "checks": [
    {
      "details": [
        "Warn: 'force pushes' enabled on branch 'main'",
        "Info: 'allow deletion' disabled on branch 'main'",
        "Warn: linear history disabled on branch 'main'",
        "Warn: 'administrator' PRs are exempt from reviews on branch 'main'",
        "Info: status check disabled on branch 'main'",
        "Info: number of required reviewers is 2 on branch 'main'",
        "Info: Stale review dismissal enabled on branch 'main'",
        "Warn: Owner review not required on branch 'main'"
      ],
      "score": 4,
      ...
}

the issues are gone but I think it should be "Warn: status check disabled on branch 'main'". My understanding is that the "Info" messages are somewhat positive and increase the score while in this case it shouldn't I think.

I fixed the Info -> Warn. Let me know if it works on your end.
I will fix the score calculation once we have the warnings right. One thing at a time :-)
Thank you so much for your patience and help!

Thanks! It seems to be working. I'll go ahead and close those issues

Thanks! It seems to be working. I'll go ahead and close those issues

Great. I may ping you once I got the score fixed. In a few days :-)

@azeemsgoogle if you have time over the weekend, feel free to take over this PR. What's left to do is make the unit tests pass. T be honest, I don't think if it's worth the effort because I'm going to update the score calculation next week (discussion we had).

I would like https://github.com/ossf/scorecard/issues/1274 to be resolved before merging this PR.

@azeemsgoogle I've temporarily commented out the unit tests for this check because I'm going to change the score calculation in the next PR. Fixing them now and once again in next PR is unnecessary work I'd like to avoid.

friendly ping. I only commented out the unit tests, not the e2e ones.

@azeemsgoogle I've temporarily commented out the unit tests for this check because I'm going to change the score calculation in the next PR. Fixing them now and once again in next PR is unnecessary work I'd like to avoid. if everything else is fine, please LGTM.

I have given LGTM. I'm hesitant about submitting this with all unit tests disabled though. Its not a practice we as a project should be encouraging. Please see if you can re-enable some of the basic test which check for things like nil-ptr dereference. If not, would be good if we have the follow up PR soon.

I intend to make it my next PR. Thanks!


[SPARK-34900][TEST][3.1] Make sure benchmarks can run using spark-submit cmd described in the guide

What changes were proposed in this pull request?
Some spark-submit  commands used to run benchmarks in the user's guide is wrong, we can't use these commands to run benchmarks successful.
So the major changes of this pr is correct these wrong commands, for example, run a benchmark which inherits from SqlBasedBenchmark, we must specify --jars <spark core test jar>,<spark catalyst test jar> because SqlBasedBenchmark based benchmark extends BenchmarkBase(defined in spark core test jar) and SQLHelper(defined in spark catalyst test jar).
Another change of this pr is removed the scalatest Assertions dependency of Benchmarks because scalatest-*.jar are not in the distribution package, it will be troublesome to use.
Why are the changes needed?
Make sure benchmarks can run using spark-submit cmd described in the guide
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Use the corrected spark-submit commands to run benchmarks successfully.

Test build #136712 has started for PR 32002 at commit 569e2da.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41294/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41294/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41294/

Test build #136712 has finished for PR 32002 at commit 569e2da.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136712/

Merged to branch-3.1.


[Backport] Fix rebase conflict detection in git 2.26 (#10929)

backport of #10929
include:

0001-Fix-rebase-conflict-detection-in-git-2.26.patch
0002-As-per-techknowlogick-reduce-copying.patch

ping LG-TM


Beit fix: Add the gen_relative_position_index() function

Hi,
Following the PS comment in #2305 , I fixed the Beit code and added the magic function 'gen_relative_position_index()'.
I also updated the weights on Hugging Face accordingly, by removing the unnecessary tensor parameter (relative_position_index).
Beit code is fine for now.
Thank you for your time & sorry for the inconvenience.

Thanks!

Thank you Laurent for the validation,
Regards,