TransferWise ESLint plugin

Downloads in past


0.2.110 months agoa year agoMinified + gzip package size for @transferwise/eslint-plugin in KB


A collection of custom eslint rules.


  • form-has-method-attribute
  • get-server-side-props-is-in-pages-directory

Writing a custom rule

See the current rules as an example.
  1. Create a test file and add Valid and Invalid examples
  2. Write your rule, using https://astexplorer.net/ to understand what your JavaScript code appears as to ESLint.
  3. Add your rule to the exports and include in the eslint template.