Skip to content

Conversation

alexwilson
Copy link
Owner

No description provided.

@alexwilson alexwilson marked this pull request as draft August 6, 2020 22:39
module.exports = {
target: "webworker",
resolve: {
extensions: ['.ts', '.tsx', '.js', '.json']
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
extensions: ['.ts', '.tsx', '.js', '.json']
extensions: [".ts", '.tsx', '.js', '.json']

status: result.status,
statusText: "OK",
headers: {
'content-type': 'text/html'
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
'content-type': 'text/html'
"content-type": 'text/html'

@@ -0,0 +1,40 @@
import {ActivityPage} from "../components/activity-page"
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Missing semicolon.

Suggested change
import {ActivityPage} from "../components/activity-page"
import {ActivityPage} from "../components/activity-page";

"Authorization": `Token ${this._existToken}`,
"Content-Type": "application/json"
}
}).then(res => res.json())
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Expected parentheses around arrow function argument.

Suggested change
}).then(res => res.json())
}).then((res) => res.json())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant