Skip to content

Instantly share code, notes, and snippets.

View Farhan-Haseeb's full-sized avatar
🎯
Focusing

Syed Farhan Haseeb Farhan-Haseeb

🎯
Focusing
  • 8BitAByte
  • Peshawar Pakistan
  • 09:37 (UTC +05:00)
View GitHub Profile
@Farhan-Haseeb
Farhan-Haseeb / no-multi-space-in-strings.js
Created June 10, 2025 11:02
Custom ES Lint rule to avoid and fix two or more spaces in string or className.
export default {
meta: {
type: 'problem',
docs: {
description: 'Disallow multiple consecutive spaces in string literals',
category: 'Possible Errors',
recommended: true,
},
fixable: 'code',
schema: [],
@Farhan-Haseeb
Farhan-Haseeb / README
Created June 17, 2020 16:51
How to reopen a closed PR on Github
How to reopen a pull-request from github?
Precodinitions
You need the rights to reopen pull requests on the repository.
The pull request hasn't been merged, just closed.
Go to Pull requests add filter `is:closed` choose PR you want to reopen. Select from checkbox and mark as Open.