mirror of
https://github.com/Instadapp/boardroom-inc-protocol-Info.git
synced 2024-07-29 22:37:02 +00:00
chore: prettier
This commit is contained in:
parent
ff58457463
commit
f284475842
8
.prettierrc.js
Normal file
8
.prettierrc.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
module.exports = {
|
||||
semi: true,
|
||||
endOfLine: "auto",
|
||||
trailingComma: "all",
|
||||
singleQuote: false,
|
||||
printWidth: 120,
|
||||
tabWidth: 2
|
||||
};
|
|
@ -19,6 +19,7 @@
|
|||
"io-ts": "^2.2.16",
|
||||
"io-ts-validator": "^0.0.5",
|
||||
"mkdirp": "^1.0.4",
|
||||
"prettier": "^2.2.1",
|
||||
"ts-node": "^9.1.1",
|
||||
"tslib": "^2.1.0",
|
||||
"typescript": "^4.1.3"
|
||||
|
|
8
scripts/bulk_add.ts
Normal file
8
scripts/bulk_add.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
const SNAPSHOT_API = "https://hub.snapshot.page/api/";
|
||||
|
||||
async function fetchAllSpaces() {
|
||||
const spaces = fetch(`${SNAPSHOT_API}/spaces`).then((res) => {
|
||||
console.log("res => ", res);
|
||||
return res.body;
|
||||
});
|
||||
}
|
|
@ -59,6 +59,11 @@ mkdirp@^1.0.4:
|
|||
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
|
||||
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==
|
||||
|
||||
prettier@^2.2.1:
|
||||
version "2.2.1"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
|
||||
integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==
|
||||
|
||||
source-map-support@^0.5.17:
|
||||
version "0.5.19"
|
||||
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
|
||||
|
|
Loading…
Reference in New Issue
Block a user