Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply a formatting pass across the repository #98

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Glitch18
Copy link
Contributor

For a while now, a majority of the files in the repo were unformatted. This resutled in large modifications being done to the files during development because of the format on save setting. This was prompting developers to disable the setting and push features and changes upstream without standardized prettier formatting, thus resulting in more unformatted files.

This PR runs a prettier format across the repository npx prettier --write .

According to .prettierignore folders like dist, build and test are excluded

Merging this should give us a formatted repo and we can re-enable our format on save settings to ensure formatting is maintained in all further commits

@Glitch18 Glitch18 force-pushed the refac/repoFormattingPass branch from e817545 to c1bdae4 Compare August 7, 2024 08:02
@Glitch18 Glitch18 requested a review from a team as a code owner August 7, 2024 08:02
} else {
if (logFlags.console) console.log(`Data recipient ${publicKey} is already removed`)
if (logFlags.console) console.log(`Data recipient ${publicKey} is already removed`);

Check warning

Code scanning / CodeQL

Log injection Medium

Log entry depends on a
user-provided value
.
}

export function addArchiverConnection(publicKey, socketId) {
connectedSockets[publicKey] = socketId
connectedSockets[publicKey] = socketId;

Check failure

Code scanning / CodeQL

Remote property injection High

A property name to write to depends on a
user-provided value
.
A property name to write to depends on a
user-provided value
.
}
delete connectedSockets[publicKey]
delete connectedSockets[publicKey];

Check failure

Code scanning / CodeQL

Remote property injection High

A property name to write to depends on a
user-provided value
.
A property name to write to depends on a
user-provided value
.
A property name to write to depends on a
user-provided value
.
@Glitch18 Glitch18 force-pushed the refac/repoFormattingPass branch from e395bf1 to b8b838d Compare August 7, 2024 08:30
@Glitch18 Glitch18 force-pushed the refac/repoFormattingPass branch from b8b838d to 5384077 Compare August 7, 2024 08:41
@jairajdev jairajdev self-requested a review August 7, 2024 08:57
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.

2 participants