Closed tvb closed 4 years ago
Sorry, please rebase... Added CI
@nicka done. I will fix the errors.
eslint --fix
😉
@nicka
Not quite:
$ eslint . --fix
Cannot find module 'eslint-config-airbnb-base'
Referenced from: coinboss/.eslintrc
Error: Cannot find module 'eslint-config-airbnb-base'
Referenced from: coinboss/.eslintrc
at ModuleResolver.resolve (/usr/local/lib/node_modules/eslint/lib/util/module-resolver.js:74:19)
at resolve (/usr/local/lib/node_modules/eslint/lib/config/config-file.js:515:25)
at load (/usr/local/lib/node_modules/eslint/lib/config/config-file.js:584:26)
at configExtends.reduceRight (/usr/local/lib/node_modules/eslint/lib/config/config-file.js:421:36)
at Array.reduceRight (native)
at applyExtends (/usr/local/lib/node_modules/eslint/lib/config/config-file.js:405:28)
at loadFromDisk (/usr/local/lib/node_modules/eslint/lib/config/config-file.js:556:22)
at Object.load (/usr/local/lib/node_modules/eslint/lib/config/config-file.js:592:20)
at Config.getLocalConfigHierarchy (/usr/local/lib/node_modules/eslint/lib/config.js:228:44)
at Config.getConfigHierarchy (/usr/local/lib/node_modules/eslint/lib/config.js:182:43)
Did you run yarn
before running eslint
? 😊
I did now, same outcome.
Likely yarn eslint . --fix
if you haven’t installed eslint
globally.
I ran npm i -g eslint
but yarn eslint . --fix
seems to work without errors. Thanks @j4zz
@nicka Check out eslint-staged with husky if you don’t know it yet. Likely makes it easier for contributors to follow project-style since you could, for example, let the project automatically run formatting steps on a precommit
.
got 2 ✅ 🎉 !
Hehe for now! I'm adding some more Jest config tomorrow since the coverage did not check for the new kraken.js
Also please update the .env.example and README.md for Kraken support.
@nicka done
Build is failing
@tvb What’s the status on this? I do think Kraken support would be valuable.
@j4zz I moved on, but feel free to fix this PR and have @nicka include it 👍
Adding the Kraken Exchange