eslint-plugin-stripe
Rules
- Forbid use of the
function
keyword (no-function-keyword
)
Usage
Installation
yarn add eslint-plugin-stripe
Add the plugin and enable rules in your .eslintrc
:
---
plugins:
- stripe
rules:
stripe/no-function-keyword: 2