question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extend contributors guide

See original GitHub issue

Following https://github.com/sindresorhus/refined-github/pull/4200

The project could include further documentation: https://github.com/sindresorhus/refined-github/blob/main/collaborators.md

What else should we include? This is different from the generic contributors guide, which is more of an entry point and doesn’t need to include a lot of details about the codebase.

This file could include instructions on how the codebase is organized and nitpicks to ensure consistency when reviewing, which currently are “unwritten rules” and lints like:

  • how to cache API calls correctly
  • sort imports a certain way
  • when to use elementReady and what it is
  • keep in mind GHE when using absolute URLs
  • use // TODO[2021-10-01]: GHE #1234 comments to remind us to drop old code after a year
  • GHE support policy: I suggest dropping code a year after it has changed on GitHub.com
  • GHE code: preserve unchanged instead of mixing it with new code, unless it’s a single selector change. When dropping it, it’ll be as easy as deleting whole lines instead of untangling it from live code.

Also in the contributors guide we could add:

  • general code instructions (e.g. use this listener instead of that)
  • how to reverse engineer GitHub

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
kidonngcommented, Jul 7, 2022

Keep in mind however that the vast majority of the knowledge will continue to be lost in the conversations and commits, because nobody will spend time to move it out after a PR has been merged.

I will spend time maintaining the wiki 😉 I’ve complained lack of detailed docs a few times already.

As for the CSS stuff, I would not spend time on that at all. If enough people complain, we just make the feature disableable, it makes no sense to maintain undo styles. Our intention is to just avoid having to move every single CSS change to a JavaScript file.

Writing reverts still takes time and effort, however simple it is. Put them somewhere easy to find save both users and our time.

1reaction
fregantecommented, Jul 8, 2022

YUP

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting guidelines for repository contributors - GitHub Docs
Contributing guidelines filenames are not case sensitive. Files are rendered in rich text format if the file extension is in a supported format....
Read more >
Contributions Guide - Visual Studio Marketplace
Extension for Azure DevOps - Building an extension for Visual Studio Team Services? See the places where you can extend and enhance the ......
Read more >
How to Build a CONTRIBUTING.md
Introduction. A CONTRIBUTING.md file, in your open source repository or site, provides potential project contributors with a short guide to how they can...
Read more >
Extend and collaborate on the Help - Business Central
In this section, you can learn about working with the GitHub repos and Markdown files. You can also find guidance in the Learn...
Read more >
HowTo: Make a Contributing Guide - CNCF Contributors
This HowTo is for project maintainers who need a Contributing Guide for their project. The goal of a CONTRIBUTING.md file is to increase...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found