@transferwise/eslint-plugin
v0.3.0
Published
TransferWise ESLint plugin
Downloads
1,442
Readme
@transferwise/eslint-plugin
A collection of custom eslint rules.
Rules
- form-has-method-attribute
- get-server-side-props-is-in-pages-directory
Writing a custom rule
See the current rules as an example.
- Create a test file and add Valid and Invalid examples
- Write your rule, using https://astexplorer.net/ to understand what your JavaScript code appears as to ESLint.
- Add your rule to the exports and include in the eslint template.