short-d/short

View on GitHub

Showing 126 of 307 total issues

Similar blocks of code found in 5 locations. Consider refactoring.
Open

try {
captchaResponse = await this.captchaService.execute(DELETE_CHANGE);
} catch (err) {
return Promise.reject(err);
}
Severity: Major
Found in frontend/src/service/shortGraphQL/ChangeLogGraphQL.api.ts and 4 other locations - About 30 mins to fix
frontend/src/service/shortGraphQL/ChangeLogGraphQL.api.ts on lines 110..114
frontend/src/service/shortGraphQL/ChangeLogGraphQL.api.ts on lines 154..158
frontend/src/service/shortGraphQL/ShortLinkGraphQL.api.ts on lines 81..85
frontend/src/service/shortGraphQL/ShortLinkGraphQL.api.ts on lines 133..137

Similar blocks of code found in 5 locations. Consider refactoring.
Open

try {
captchaResponse = await this.captchaService.execute(UPDATE_CHANGE);
} catch (err) {
return Promise.reject(err);
}
Severity: Major
Found in frontend/src/service/shortGraphQL/ChangeLogGraphQL.api.ts and 4 other locations - About 30 mins to fix
frontend/src/service/shortGraphQL/ChangeLogGraphQL.api.ts on lines 110..114
frontend/src/service/shortGraphQL/ChangeLogGraphQL.api.ts on lines 196..200
frontend/src/service/shortGraphQL/ShortLinkGraphQL.api.ts on lines 81..85
frontend/src/service/shortGraphQL/ShortLinkGraphQL.api.ts on lines 133..137

Function default has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
Open

export default function(
WrappedComponent: React.ComponentType<any>,
makeAuthDecision: () => Promise<boolean>
) {
enum AuthDecision {
Severity: Minor
Found in frontend/src/component/hoc/withPageAuth.tsx - About 25 mins to fix

Headers should be surrounded by blank lines
Open

## Current Behavior ( Optional for new feature )

Multiple headers with the same content
Open

### Screenshots

Line length
Open

where people together plan the product roadmap for Short, write design docs, build complex systems, create libraries, invent
Severity: Info
Found in CONTRIBUTING.md by markdownlint

Line length
Open

| Principal | Description |
Severity: Info
Found in README.md by markdownlint

Headers should be surrounded by blank lines
Open

### Backend
Severity: Info
Found in README.md by markdownlint

Double quote to prevent globbing and word splitting.
Open

timeout $WAITFORIT_BUSYTIMEFLAG $WAITFORIT_TIMEOUT $0 --quiet --child --host=$WAITFORIT_HOST --port=$WAITFORIT_PORT --timeout=$WAITFORIT_TIMEOUT &
Severity: Minor
Found in backend/scripts/wait-for-it by shellcheck

Line length
Open

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
Severity: Info
Found in CODE_OF_CONDUCT.md by markdownlint

Bare URL used
Open

available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
Severity: Info
Found in CODE_OF_CONDUCT.md by markdownlint

Line length
Open

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Trailing spaces
Open

- You thrive in complexities & difficulties. Compilers, operating systems, programming languages, bitwise optimizations,
Severity: Info
Found in CONTRIBUTING.md by markdownlint

Trailing spaces
Open

3.

Line length
Open

1. Fill in `http://localhost/oauth/google/sign-in/callback` for `Authorized redirect URIs` and click on `Create`.
Severity: Info
Found in README.md by markdownlint

Lists should be surrounded by blank lines
Open

- You thrive in complexities & difficulties. Compilers, operating systems, programming languages, bitwise optimizations,
Severity: Info
Found in CONTRIBUTING.md by markdownlint

Headers should be surrounded by blank lines
Open

### Continuous Delivery
Severity: Info
Found in README.md by markdownlint

Trailing spaces
Open

In the future, when after we add enough automated tests, we may migrate to
Severity: Info
Found in README.md by markdownlint

Lists should be surrounded by blank lines
Open

1. Create a new app at
Severity: Info
Found in doc/sso/FACEBOOK.md by markdownlint

Line length
Open

[SSR](https://docs.google.com/document/d/16iV91aESfnYU6rIEWGEzws3nbDX3hB-St9gAxrtCAa8),
Severity: Info
Found in README.md by markdownlint
Severity
Category
Status
Source
Language