Skip to content

Conversation

sreekaransrinath
Copy link
Contributor

Closes #10

@sreekaransrinath
Copy link
Contributor Author

Switched from the wrong branch into a new one, oops.

@sreekaransrinath sreekaransrinath force-pushed the add-formatting-guidelines branch from 975065d to dc5610f Compare October 20, 2022 21:07

Example: `:bug: fix: Resolve 'isCorrect' function error (#0)`

- Format your code with [Prettier](https://prettier.io/), and set "printWidth" to 80.
Copy link
Member

Choose a reason for hiding this comment

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

Can you add the command as well to run it?

Copy link
Member

Choose a reason for hiding this comment

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

  • Also, I don't think mentioning the 'print width' is necessary, because if the extension is installed in let's say VS Code, the .prettierrc file in the project will automatically override the user's local settings.
  • The trailing / in the URL is unnecessary and should be removed IMO.

Copy link
Member

Choose a reason for hiding this comment

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

How I had referred to Prettier in previous projects: github.com/HarshKapadia2/git_internals/blob/main/CONTRIBUTING.md


Example: `:bug: fix: Resolve 'isCorrect' function error (#0)`

- Format your code with [Prettier](https://prettier.io/), and set "printWidth" to 80.
Copy link
Member

Choose a reason for hiding this comment

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

  • Also, I don't think mentioning the 'print width' is necessary, because if the extension is installed in let's say VS Code, the .prettierrc file in the project will automatically override the user's local settings.
  • The trailing / in the URL is unnecessary and should be removed IMO.


Example: `:bug: fix: Resolve 'isCorrect' function error (#0)`

- Format your code with [Prettier](https://prettier.io/), and set "printWidth" to 80.
Copy link
Member

Choose a reason for hiding this comment

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

How I had referred to Prettier in previous projects: github.com/HarshKapadia2/git_internals/blob/main/CONTRIBUTING.md

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.

contributor guidelines may need to prescribe formatting rules as well
3 participants