@zapper-fi/eslint-plugin
v1.4.0
Published
Zapper's set of custom ESLint rules
Readme
Zapper ESLint Plugin
Zapper.fi's set of custom ESLint rules
Installation
You'll first need to install ESLint:
pnpm i eslint --save-devNext, install @zapper-fi/eslint-plugin:
pnpm install @zapper-fi/eslint-plugin --save-devUsage
Add @zapper-fi to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["@zapper-fi"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"@zapper-fi/ethereum-address": 2
}
}Supported Rules
ethereum-address: Requires Ethereum-style addresses to be lowercased
