🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

eslint-plugin-address

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-address

![npm](https://img.shields.io/npm/v/eslint-plugin-address) ![GitHub](https://img.shields.io/github/license/pancakeswap/eslint-plugin-address) ![npm](https://img.shields.io/npm/dm/eslint-plugin-address)

latest
npmnpm
Version
0.0.2
Version published
Weekly downloads
70
-36.94%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-plugin-address

npm GitHub npm

evm address lint rule

Installation

pnpm add -D eslint-plugin-address eslint

It is also possible to install ESLint globally rather than locally.

Configuration

Add "address" plugin to your config files.

{
  "plugins": ["address", ...others],
}

Enable or disable the rules

{
  "rules": {
    // default set
    "address/addr-type": "error",
    // or, specific use checksumed address
    "address/addr-type": ["error", "checksum"],
    // or, specific use lowercase address
    "address/addr-type": ["error", "lowercase"]
  }
}

FAQs

Package last updated on 21 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts