Zilliqa / zilliqa-js

JavaScript SDK for Zilliqa blockchain
https://www.npmjs.com/package/@zilliqa-js/zilliqa
GNU General Public License v3.0
131 stars 74 forks source link

chore(eslint): no-require-imports #426

Closed ghost closed 2 years ago

ghost commented 2 years ago

Description

This PR prefers the newer ES6-style imports over require() by adding no-require-imports rule and also prevents the issues like #422.

Also, to pass the CI this PR disables lint for the two existing require imports until all require imports are removed.

Motivation and Context

How has this been tested?

Screenshots (if appropriate):

Types of changes

Checklist: