NomicFoundation / hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
https://hardhat.org
Other
7.04k stars 1.36k forks source link

Added eslint rules #5378

Closed schaable closed 1 month ago

schaable commented 1 month ago

Added 3 ESLint rules:

  1. @typescript-eslint/consistent-type-imports

  2. no-restricted-syntax

    • Selector that matches assert.strictEqual, assert.deepStrictEqual, assert.notStrictEqual, etc., and requires using the non-strict versions. This works because all exports from node:assert/strict are already in strict mode.
    • Selector that matches assert and assert.ok and requires an assertion message. This is to avoid running into the bug that slows down the test suite.
vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hardhat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2024 7:56pm
changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: cb4a8416564524793dbf58afb296e3e090d4817f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR