Advertisement
Guest User

Linting error output for testing command

a guest
Mar 21st, 2023
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.12 KB | None | 0 0
  1. docker-compose run --rm bookbrainz-site yarn run test
  2. [+] Running 3/0
  3. ⠿ Container redis Running 0.0s
  4. ⠿ Container elasticsearch Running 0.0s
  5. ⠿ Container postgres Running 0.0s
  6. yarn run v1.22.19
  7. $ npm run lint-errors && cross-env NODE_ENV=test mocha -r jsdom-global/register
  8.  
  9. > bbsite@0.0.0 lint-errors
  10. > eslint --quiet .
  11.  
  12. =============
  13.  
  14. WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
  15.  
  16. You may find that it works just fine, or you may not.
  17.  
  18. SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.5.0
  19.  
  20. YOUR TYPESCRIPT VERSION: 4.5.2
  21.  
  22. Please only submit bug reports when using the officially supported version.
  23.  
  24. =============
  25.  
  26. /home/bookbrainz/bookbrainz-site/src/client/entity-editor/author-credit-editor/author-credit-section.tsx
  27. 30:9 error SingleValueProps not found in 'react-select' import/named
  28.  
  29. /home/bookbrainz/bookbrainz-site/src/client/entity-editor/author-section/author-section.tsx
  30. 197:8 error Callbacks must be listed after all other props react/jsx-sort-props
  31. 198:8 error Value must be omitted for boolean attributes react/jsx-boolean-value
  32. 212:8 error Callbacks must be listed after all other props react/jsx-sort-props
  33. 213:8 error Value must be omitted for boolean attributes react/jsx-boolean-value
  34.  
  35. /home/bookbrainz/bookbrainz-site/src/client/entity-editor/common/entity-select.tsx
  36. 2:9 error SingleValueProps not found in 'react-select' import/named
  37.  
  38. /home/bookbrainz/bookbrainz-site/src/client/entity-editor/common/language-field.tsx
  39. 22:9 error OptionProps not found in 'react-select' import/named
  40.  
  41. /home/bookbrainz/bookbrainz-site/src/client/entity-editor/common/linked-entity-select.tsx
  42. 2:9 error OptionProps not found in 'react-select' import/named
  43.  
  44. /home/bookbrainz/bookbrainz-site/src/client/entity-editor/edition-group-section/edition-group-section.tsx
  45. 88:45 error Props should be sorted alphabetically react/jsx-sort-props
  46. 110:8 error Callbacks must be listed after all other props react/jsx-sort-props
  47. 111:8 error Value must be omitted for boolean attributes react/jsx-boolean-value
  48.  
  49. /home/bookbrainz/bookbrainz-site/src/client/entity-editor/edition-section/edition-section.tsx
  50. 404:8 error Callbacks must be listed after all other props react/jsx-sort-props
  51. 405:8 error Value must be omitted for boolean attributes react/jsx-boolean-value
  52. 426:8 error Callbacks must be listed after all other props react/jsx-sort-props
  53. 427:8 error Value must be omitted for boolean attributes react/jsx-boolean-value
  54.  
  55. /home/bookbrainz/bookbrainz-site/src/client/entity-editor/publisher-section/publisher-section.tsx
  56. 153:8 error Callbacks must be listed after all other props react/jsx-sort-props
  57. 154:8 error Value must be omitted for boolean attributes react/jsx-boolean-value
  58.  
  59. /home/bookbrainz/bookbrainz-site/src/client/entity-editor/relationship-editor/relationship-select.tsx
  60. 1:9 error OptionProps not found in 'react-select' import/named
  61. 1:22 error SingleValueProps not found in 'react-select' import/named
  62.  
  63. /home/bookbrainz/bookbrainz-site/src/client/entity-editor/work-section/work-section.tsx
  64. 142:8 error Callbacks must be listed after all other props react/jsx-sort-props
  65. 143:8 error Value must be omitted for boolean attributes react/jsx-boolean-value
  66.  
  67. /home/bookbrainz/bookbrainz-site/src/client/helpers/entity.tsx
  68. 237:2 error Expected space(s) after "if" keyword-spacing
  69. 237:36 error Missing space before opening brace space-before-blocks
  70. 239:2 error Closing curly brace appears on the same line as the subsequent block brace-style
  71. 239:9 error Expected space(s) after "if" keyword-spacing
  72. 239:34 error Missing space before opening brace space-before-blocks
  73. 242:1 error Expected indentation of 1 tab but found 2 spaces indent
  74.  
  75. /home/bookbrainz/bookbrainz-site/src/client/helpers/utils.tsx
  76. 188:53 error There should be no space after '{' object-curly-spacing
  77. 188:74 error There should be no space before '}' object-curly-spacing
  78.  
  79. /home/bookbrainz/bookbrainz-site/src/server/helpers/middleware.ts
  80. 43:61 error Block must not be padded by blank lines padded-blocks
  81. 44:1 error Trailing spaces not allowed no-trailing-spaces
  82. 45:1 error Trailing spaces not allowed no-trailing-spaces
  83. 46:1 error Expected indentation of 2 tabs but found 3 indent
  84. 48:4 error Expected return with your callback function node/callback-return
  85. 190:56 error Block must not be padded by blank lines padded-blocks
  86. 192:1 error Trailing spaces not allowed no-trailing-spaces
  87. 193:2 error Closing curly brace appears on the same line as the subsequent block brace-style
  88. 194:3 error Expected return with your callback function node/callback-return
  89.  
  90. /home/bookbrainz/bookbrainz-site/src/server/routes/merge.ts
  91. 176:16 error Expected to return a value at the end of async function 'loadEntityRelationships' consistent-return
  92. 186:57 error There should be no space after '{' object-curly-spacing
  93. 186:86 error There should be no space before '}' object-curly-spacing
  94. 187:1 error Expected indentation of 3 tabs but found 2 indent
  95. 188:1 error Expected indentation of 4 tabs but found 3 indent
  96. 189:1 error Expected indentation of 4 tabs but found 3 indent
  97. 190:1 error Expected indentation of 5 tabs but found 4 indent
  98. 191:1 error Expected indentation of 5 tabs but found 4 indent
  99. 192:1 error Expected indentation of 5 tabs but found 4 indent
  100. 193:1 error Expected indentation of 5 tabs but found 4 indent
  101. 194:1 error Expected indentation of 5 tabs but found 4 indent
  102. 195:1 error Expected indentation of 4 tabs but found 3 indent
  103. 196:1 error Expected indentation of 3 tabs but found 2 indent
  104. 196:5 error Missing semicolon @typescript-eslint/semi
  105. 198:1 error Expected indentation of 3 tabs but found 2 indent
  106. 200:1 error Trailing spaces not allowed no-trailing-spaces
  107. 202:1 error Trailing spaces not allowed no-trailing-spaces
  108. 203:4 error Move function declaration to function body root no-inner-declarations
  109. 204:1 error Expected indentation of 3 tabs but found 2 indent
  110. 205:1 error Expected indentation of 3 tabs but found 2 indent
  111. 206:1 error Trailing spaces not allowed no-trailing-spaces
  112. 207:1 error Expected indentation of 3 tabs but found 2 indent
  113. 207:23 error There should be no space after '{' object-curly-spacing
  114. 207:42 error There should be no space before '}' object-curly-spacing
  115. 208:13 error There should be no space after '{' object-curly-spacing
  116. 208:105 error There should be no space before '}' object-curly-spacing
  117. 210:1 error Trailing spaces not allowed no-trailing-spaces
  118. 217:1 error Expected indentation of 3 tabs but found 2 indent
  119. 220:1 error Expected indentation of 3 tabs but found 2 indent
  120. 221:1 error Trailing spaces not allowed no-trailing-spaces
  121. 222:1 error Expected indentation of 3 tabs but found 2 indent
  122. 223:1 error Expected indentation of 3 tabs but found 2 indent
  123. 224:1 error Trailing spaces not allowed no-trailing-spaces
  124. 225:1 error Expected indentation of 3 tabs but found 2 indent
  125. 227:1 error Trailing spaces not allowed no-trailing-spaces
  126. 230:1 error Expected indentation of 3 tabs but found 2 indent
  127. 232:1 error Trailing spaces not allowed no-trailing-spaces
  128. 234:2 error Closing curly brace appears on the same line as the subsequent block brace-style
  129. 235:4 error Unexpected console statement no-console
  130. 237:1 error Expected indentation of 0 tabs but found 2 spaces indent
  131. 239:2 error Unnecessary try/catch wrapper no-useless-catch
  132. 240:1 error Expected indentation of 2 tabs but found 1 indent
  133. 241:1 error Expected indentation of 2 tabs but found 1 indent
  134. 242:1 error Expected indentation of 2 tabs but found 1 indent
  135. 243:1 error Expected indentation of 2 tabs but found 1 indent
  136. 257:2 error Closing curly brace appears on the same line as the subsequent block brace-style
  137. 420:23 error Newline required at end of file but not found eol-last
  138.  
  139. ✖ 85 problems (85 errors, 0 warnings)
  140. 73 errors and 0 warnings potentially fixable with the `--fix` option.
  141.  
  142. npm notice
  143. npm notice New major version of npm available! 8.11.0 -> 9.6.2
  144. npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.6.2
  145. npm notice Run npm install -g npm@9.6.2 to update!
  146. npm notice
  147. error Command failed with exit code 1.
  148. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  149.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement