You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

eslint-plugin-react-native-animation-linter

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react-native-animation-linter

Lint rules to ensure safe management of React Native animations.

0.1.2
latest
Source
npmnpm
Version published
Weekly downloads
320
-60.3%
Maintainers
2
Weekly downloads
 
Created
Source

ESLint plugin for detecting React Native Animation bugs

Lint rules to ensure safe management of React Native animations.

Installation

Install ESLint.

$ npm install eslint

Install eslint-plugin-react-native-animation-linter

$ npm install eslint-plugin-react-native-animation-linter

Configuration

Add plugins section and specify react-native-animation-linter as a plugin.

{
  "plugins": [
    "react-native-animation-linter"
  ]
}

Finally, enable the rules that you would like to use. (There is currently only one rule, but we may add more!)

{
  "rules": {
    "react-native-animation-linter/must-tear-down-animations": 2,
  }
}

List of supported rules

  • must-tear-down-animations: Detect animated state variables that aren't torn down properly.

Keywords

eslint-plugin

FAQs

Package last updated on 18 Jul 2018

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