eslint-plugin 1.4.0
Install from the command line:
Learn more about npm packages
$ npm install @zapper-fi/eslint-plugin@1.4.0
Install via package.json:
"@zapper-fi/eslint-plugin": "1.4.0"
About this version
Zapper.fi's set of custom ESLint rules
You'll first need to install ESLint:
pnpm i eslint --save-dev
Next, install @zapper-fi/eslint-plugin
:
pnpm install @zapper-fi/eslint-plugin --save-dev
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
}
}
-
ethereum-address
: Requires Ethereum-style addresses to be lowercased
Details
- eslint-plugin
- Zapper-fi
- over 2 years ago
- ISC
- 8 dependencies
Assets
- eslint-plugin-1.4.0.tgz
Download activity
- Total downloads 53,557
- Last 30 days 0
- Last week 0
- Today 0