add ESLint config

This commit is contained in:
g1nt0ki
2023-01-18 13:41:42 +05:30
parent 8c538e6087
commit 508b55dc2f
5 changed files with 1696 additions and 32 deletions

View File

@@ -7,6 +7,7 @@
"test": "echo \"Error: no test specified\" && exit 1",
"weeklyChanges": "git pull && git diff $(git log -1 --before=@{7.days.ago} --format=%H) --stat | grep -E \"projects/\" | cut -d / -f 2 | cut -d \" \" -f 1 | uniq | wc -l",
"dev": "babel-watch curve.js",
"lint": "eslint .",
"test-interactive": "node utils/testInteractive",
"postinstall": "echo 'run \"npm update @defillama/sdk\" if you want lastest sdk changes' "
},
@@ -47,6 +48,7 @@
"devDependencies": {
"@types/async-retry": "^1.4.5",
"@types/bn.js": "^5.1.0",
"eslint": "^8.32.0",
"ts-node": "^10.8.1"
}
}