npm i -D eslint eslint-config-airbnb eslint-plugin-import
.eslintrc.json
{
"extends": "airbnb-base"
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/gjgd/5a08da85a98bf147294f331461e44d1f/raw/a63bf0f4169a8ab651adfa0a56e676e6bc465876/setup-github-action-runner.sh)" | |
# Update instance | |
sudo apt update -y | |
sudo apt upgrade -y | |
# Install latest version of git | |
sudo add-apt-repository ppa:git-core/ppa -y | |
sudo apt-get update | |
sudo apt-get install git -y |
const jsigs = require('jsonld-signatures'); | |
const vcjs = require('vc-js'); | |
const jsonld = require('jsonld'); | |
jest.setTimeout(10 * 1000); | |
const documentLoader = async url => { | |
if (url.split('#')[0] === 'did:web:vc.transmute.world') { | |
return { | |
contextUrl: null, |
// Add two numbers | |
const add = (a, b) => { | |
return a + b; | |
}; | |
// Subtract two numbers | |
const subtract = (a, b) => { | |
return a - b; | |
}; |
// Add two numbers | |
const add = (a, b) => { | |
// TODO: Implement here | |
return 0; | |
}; | |
const subtract = (a, b) => { | |
return a - b; | |
}; |