Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@transferwise/eslint-plugin

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@transferwise/eslint-plugin

TransferWise ESLint plugin

latest
Source
npmnpm
Version
0.3.0
Version published
Weekly downloads
137
-39.65%
Maintainers
2
Weekly downloads
 
Created
Source

@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.

Keywords

transferwise

FAQs

Package last updated on 18 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts