Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- docker-compose run --rm bookbrainz-site yarn run test
- [+] Running 3/0
- ⠿ Container redis Running 0.0s
- ⠿ Container elasticsearch Running 0.0s
- ⠿ Container postgres Running 0.0s
- yarn run v1.22.19
- $ npm run lint-errors && cross-env NODE_ENV=test mocha -r jsdom-global/register
- > bbsite@0.0.0 lint-errors
- > eslint --quiet .
- =============
- WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
- You may find that it works just fine, or you may not.
- SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.5.0
- YOUR TYPESCRIPT VERSION: 4.5.2
- Please only submit bug reports when using the officially supported version.
- =============
- /home/bookbrainz/bookbrainz-site/src/client/entity-editor/author-credit-editor/author-credit-section.tsx
- 30:9 error SingleValueProps not found in 'react-select' import/named
- /home/bookbrainz/bookbrainz-site/src/client/entity-editor/author-section/author-section.tsx
- 197:8 error Callbacks must be listed after all other props react/jsx-sort-props
- 198:8 error Value must be omitted for boolean attributes react/jsx-boolean-value
- 212:8 error Callbacks must be listed after all other props react/jsx-sort-props
- 213:8 error Value must be omitted for boolean attributes react/jsx-boolean-value
- /home/bookbrainz/bookbrainz-site/src/client/entity-editor/common/entity-select.tsx
- 2:9 error SingleValueProps not found in 'react-select' import/named
- /home/bookbrainz/bookbrainz-site/src/client/entity-editor/common/language-field.tsx
- 22:9 error OptionProps not found in 'react-select' import/named
- /home/bookbrainz/bookbrainz-site/src/client/entity-editor/common/linked-entity-select.tsx
- 2:9 error OptionProps not found in 'react-select' import/named
- /home/bookbrainz/bookbrainz-site/src/client/entity-editor/edition-group-section/edition-group-section.tsx
- 88:45 error Props should be sorted alphabetically react/jsx-sort-props
- 110:8 error Callbacks must be listed after all other props react/jsx-sort-props
- 111:8 error Value must be omitted for boolean attributes react/jsx-boolean-value
- /home/bookbrainz/bookbrainz-site/src/client/entity-editor/edition-section/edition-section.tsx
- 404:8 error Callbacks must be listed after all other props react/jsx-sort-props
- 405:8 error Value must be omitted for boolean attributes react/jsx-boolean-value
- 426:8 error Callbacks must be listed after all other props react/jsx-sort-props
- 427:8 error Value must be omitted for boolean attributes react/jsx-boolean-value
- /home/bookbrainz/bookbrainz-site/src/client/entity-editor/publisher-section/publisher-section.tsx
- 153:8 error Callbacks must be listed after all other props react/jsx-sort-props
- 154:8 error Value must be omitted for boolean attributes react/jsx-boolean-value
- /home/bookbrainz/bookbrainz-site/src/client/entity-editor/relationship-editor/relationship-select.tsx
- 1:9 error OptionProps not found in 'react-select' import/named
- 1:22 error SingleValueProps not found in 'react-select' import/named
- /home/bookbrainz/bookbrainz-site/src/client/entity-editor/work-section/work-section.tsx
- 142:8 error Callbacks must be listed after all other props react/jsx-sort-props
- 143:8 error Value must be omitted for boolean attributes react/jsx-boolean-value
- /home/bookbrainz/bookbrainz-site/src/client/helpers/entity.tsx
- 237:2 error Expected space(s) after "if" keyword-spacing
- 237:36 error Missing space before opening brace space-before-blocks
- 239:2 error Closing curly brace appears on the same line as the subsequent block brace-style
- 239:9 error Expected space(s) after "if" keyword-spacing
- 239:34 error Missing space before opening brace space-before-blocks
- 242:1 error Expected indentation of 1 tab but found 2 spaces indent
- /home/bookbrainz/bookbrainz-site/src/client/helpers/utils.tsx
- 188:53 error There should be no space after '{' object-curly-spacing
- 188:74 error There should be no space before '}' object-curly-spacing
- /home/bookbrainz/bookbrainz-site/src/server/helpers/middleware.ts
- 43:61 error Block must not be padded by blank lines padded-blocks
- 44:1 error Trailing spaces not allowed no-trailing-spaces
- 45:1 error Trailing spaces not allowed no-trailing-spaces
- 46:1 error Expected indentation of 2 tabs but found 3 indent
- 48:4 error Expected return with your callback function node/callback-return
- 190:56 error Block must not be padded by blank lines padded-blocks
- 192:1 error Trailing spaces not allowed no-trailing-spaces
- 193:2 error Closing curly brace appears on the same line as the subsequent block brace-style
- 194:3 error Expected return with your callback function node/callback-return
- /home/bookbrainz/bookbrainz-site/src/server/routes/merge.ts
- 176:16 error Expected to return a value at the end of async function 'loadEntityRelationships' consistent-return
- 186:57 error There should be no space after '{' object-curly-spacing
- 186:86 error There should be no space before '}' object-curly-spacing
- 187:1 error Expected indentation of 3 tabs but found 2 indent
- 188:1 error Expected indentation of 4 tabs but found 3 indent
- 189:1 error Expected indentation of 4 tabs but found 3 indent
- 190:1 error Expected indentation of 5 tabs but found 4 indent
- 191:1 error Expected indentation of 5 tabs but found 4 indent
- 192:1 error Expected indentation of 5 tabs but found 4 indent
- 193:1 error Expected indentation of 5 tabs but found 4 indent
- 194:1 error Expected indentation of 5 tabs but found 4 indent
- 195:1 error Expected indentation of 4 tabs but found 3 indent
- 196:1 error Expected indentation of 3 tabs but found 2 indent
- 196:5 error Missing semicolon @typescript-eslint/semi
- 198:1 error Expected indentation of 3 tabs but found 2 indent
- 200:1 error Trailing spaces not allowed no-trailing-spaces
- 202:1 error Trailing spaces not allowed no-trailing-spaces
- 203:4 error Move function declaration to function body root no-inner-declarations
- 204:1 error Expected indentation of 3 tabs but found 2 indent
- 205:1 error Expected indentation of 3 tabs but found 2 indent
- 206:1 error Trailing spaces not allowed no-trailing-spaces
- 207:1 error Expected indentation of 3 tabs but found 2 indent
- 207:23 error There should be no space after '{' object-curly-spacing
- 207:42 error There should be no space before '}' object-curly-spacing
- 208:13 error There should be no space after '{' object-curly-spacing
- 208:105 error There should be no space before '}' object-curly-spacing
- 210:1 error Trailing spaces not allowed no-trailing-spaces
- 217:1 error Expected indentation of 3 tabs but found 2 indent
- 220:1 error Expected indentation of 3 tabs but found 2 indent
- 221:1 error Trailing spaces not allowed no-trailing-spaces
- 222:1 error Expected indentation of 3 tabs but found 2 indent
- 223:1 error Expected indentation of 3 tabs but found 2 indent
- 224:1 error Trailing spaces not allowed no-trailing-spaces
- 225:1 error Expected indentation of 3 tabs but found 2 indent
- 227:1 error Trailing spaces not allowed no-trailing-spaces
- 230:1 error Expected indentation of 3 tabs but found 2 indent
- 232:1 error Trailing spaces not allowed no-trailing-spaces
- 234:2 error Closing curly brace appears on the same line as the subsequent block brace-style
- 235:4 error Unexpected console statement no-console
- 237:1 error Expected indentation of 0 tabs but found 2 spaces indent
- 239:2 error Unnecessary try/catch wrapper no-useless-catch
- 240:1 error Expected indentation of 2 tabs but found 1 indent
- 241:1 error Expected indentation of 2 tabs but found 1 indent
- 242:1 error Expected indentation of 2 tabs but found 1 indent
- 243:1 error Expected indentation of 2 tabs but found 1 indent
- 257:2 error Closing curly brace appears on the same line as the subsequent block brace-style
- 420:23 error Newline required at end of file but not found eol-last
- ✖ 85 problems (85 errors, 0 warnings)
- 73 errors and 0 warnings potentially fixable with the `--fix` option.
- npm notice
- npm notice New major version of npm available! 8.11.0 -> 9.6.2
- npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.6.2
- npm notice Run npm install -g npm@9.6.2 to update!
- npm notice
- error Command failed with exit code 1.
- info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement