eosnetworkfoundation / mandel-eosjs

Official Javascript Library for Working with EOS Blockchain
Other
22 stars 6 forks source link

Replace old eslint config module #11

Closed ericpassmore closed 1 year ago

ericpassmore commented 2 years ago

Replace @blockone/eslint-config-blockone

ericpassmore commented 2 years ago

Create new file .eslintrc in base dir. ESLint official website for details.

shaqk commented 1 year ago

The dev dependency "@blockone/eslint-config-blockone" is now gone from npm

Not Found - GET https://registry.npmjs.org/@blockone/eslint-config-blockone/-/eslint-config-blockone-4.0.2.tgz - Not found

ericpassmore commented 1 year ago

Branch ehp/GH-11-eslint-config has the updates. Removed old packaged. Created new eslint and prettier config. Fixed one file src/eosjs-jsonrpc.ts. Package upgrades to eslint, typedoc, typescript, and node. Added eslint-config-prettier, eslint-plugin-es-x, eslint-plugin-prettier.

ToDo: Need to test and eslint --fix src/ all the other files as well. ToDo: Regenerate documentation and make sure they work ToDo: Rerun tests to make sure changes didn't break anything