ssh-keygen -t ed25519 -C "your_email@example.com"
Copy it to your clipboard
module.exports = { | |
// other rules | |
rules: { | |
'no-restricted-syntax': [ | |
'error', | |
{ | |
selector: | |
"JSXElement > JSXExpressionContainer > LogicalExpression[operator!='??']", | |
message: 'Use ternary operator instead', | |
}, |
ssh-keygen -t ed25519 -C "your_email@example.com"
Copy it to your clipboard
# 123 is the PR number | |
git fetch origin pull/123/head:pr/123 && git checkout pr/123 |
git reset --hard upstream/master |
docker run -e "ACCEPT_EULA=true" -e "MSSQL_PID=Express" -e "SA_PASSWORD=suchpass123@" -p 1433:1433 microsoft/mssql-server-linux |
kill $(ps aux | grep flow | grep -v grep | awk '{print $2}') |
I hereby claim:
To claim this, I am signing this object:
cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' |
export { default as CircleAdd } from './icons/CircleAdd'; | |
export { default as TagRemove } from './icons/TagRemove'; |
/* | |
Instead of | |
require('../../blah/stories.js'); | |
require('../../blah/blah/stories.js'); | |
... | |
*/ | |
const req = require.context('../', true, /stories\.js$/); | |
function loadStories() { |