There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

dan , (edited )
@dan@upvote.au avatar

At my workplace, we use the string @nocommit to designate code that shouldn’t be checked in. Usually in a comment:


<span style="color:#323232;">// @nocommit temporary for testing
</span><span style="color:#323232;">apiKey = 'blah';
</span><span style="color:#323232;">// apiKey = getKeyFromKeychain(); 
</span>

but it can be anywhere in the file.

There’s a lint rule that looks for @nocommit in all modified files. It shows a lint error in dev and in our code review / build system, and commits that contain @nocommit anywhere are completely blocked from being merged.

(the code in the lint rule does something like “@no”+“commit” to avoid triggering itself)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines