Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

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

Merged
merged 1 commit into from Nov 9, 2021
Merged

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

merged 1 commit into from Nov 9, 2021

Conversation

ghost
Copy link

@ghost ghost commented Nov 9, 2021

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

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • Add tests to cover changes as needed.
  • Update documentation as needed.

@bb111189 bb111189 merged commit 3c243fc into Zilliqa:dev Nov 9, 2021
@ghost ghost mentioned this pull request Nov 9, 2021
5 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant