https://github.com/pancakeswap/eslint-plugin-address
evm address lint rule
https://github.com/pancakeswap/eslint-plugin-address
eslint eslint-plugin
Last synced: 7 days ago
JSON representation
evm address lint rule
- Host: GitHub
- URL: https://github.com/pancakeswap/eslint-plugin-address
- Owner: pancakeswap
- License: mit
- Created: 2023-09-19T11:44:27.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-19T07:03:06.000Z (over 1 year ago)
- Last Synced: 2025-04-05T19:41:29.332Z (3 months ago)
- Topics: eslint, eslint-plugin
- Language: TypeScript
- Homepage:
- Size: 139 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-plugin-address


evm address lint rule
## Installation
```sh
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.
```jsonc
{
"plugins": ["address", ...others],
}
```Enable or disable the rules
```jsonc
{
"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"]
}
}
```