[STR-788] fix: validate user authentication by API instead of cookie #393
Annotations
10 errors and 12 warnings
|
Lint:
react/__tests__/ProfileChallenge.test.tsx#L2
There should be at least one empty line between import groups
|
|
Lint:
react/ProfileChallenge.tsx#L66
Insert `··`
|
|
Lint:
react/ProfileChallenge.tsx#L65
Insert `··`
|
|
Lint:
react/ProfileChallenge.tsx#L64
Insert `⏎···`
|
|
Lint:
react/ProfileChallenge.tsx#L61
Delete `··⏎`
|
|
Lint:
react/ProfileChallenge.tsx#L39
Delete `⏎`
|
|
Lint:
react/ProfileChallenge.tsx#L28
Delete `⏎`
|
|
Lint:
react/ProfileChallenge.tsx#L9
`react-apollo` import should occur before import of `./graphql/getAuthenticatedUser.graphql`
|
|
Lint:
react/ProfileChallenge.tsx#L8
There should be at least one empty line between import groups
|
|
Lint:
react/ProfileChallenge.tsx#L2
Replace `⏎··useRuntime,⏎··canUseDOM,⏎··Loading,⏎` with `·useRuntime,·canUseDOM,·Loading·`
|
|
IO app test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Lint:
react/__tests__/ProductWrapper.test.js#L13
JSX not allowed in files with extension '.js'
|
|
Lint:
react/__mocks__/vtex.render-runtime.js#L17
JSX not allowed in files with extension '.js'
|
|
Lint:
react/__mocks__/vtex.product-context/ProductContextProvider.js#L7
JSX not allowed in files with extension '.js'
|
|
Lint:
react/__mocks__/vtex.open-graph.js#L3
JSX not allowed in files with extension '.js'
|
|
Lint:
react/__mocks__/productMock.js#L59
Arrow function has too many parameters (4). Maximum allowed is 3
|
|
Lint:
react/ProfileChallenge.tsx#L24
Unexpected any. Specify a different type
|
|
Lint:
react/ProfileChallenge.tsx#L23
Unexpected any. Specify a different type
|
|
Lint:
react/ProductWrapper.js#L19
JSX not allowed in files with extension '.js'
|
|
Lint:
react/HomeWrapper.js#L34
JSX not allowed in files with extension '.js'
|
|
Lint:
react/Fold.js#L3
JSX not allowed in files with extension '.js'
|
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|